Changeset 42829ae in mod_gnutls


Ignore:
Timestamp:
May 27, 2016, 8:12:43 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
9e56602
Parents:
298dc66
git-author:
Thomas Klute <thomas2.klute@…> (05/27/16 18:31:42)
git-committer:
Thomas Klute <thomas2.klute@…> (05/27/16 20:12:43)
Message:

Build pgpcrc through Automake, clean new GnuPG privkey files & directories

Location:
test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • test/.gitignore

    r298dc66 r42829ae  
    2121*.trs
    2222*.lock
     23pgpcrc
     24.deps
  • test/Makefile.am

    r298dc66 r42829ae  
    3333TESTS = $(dist_check_SCRIPTS)
    3434
     35check_PROGRAMS = pgpcrc
     36pgpcrc_SOURCES = pgpcrc.c
     37
    3538# Identities in the miniature CA, server, and client environment for
    3639# the test suite
     
    9396# one day, so regenerating them is both fast and frequently
    9497# necessary.
    95 MOSTLYCLEANFILES += */*.pgp */*.gpg */*.gpg~ */gpg.conf authority/lock */*.kbx */*.kbx~ */S.gpg-agent */private-keys-v1.d/*
     98MOSTLYCLEANFILES += */*.pgp */*.pgp.raw */*.gpg */*.gpg~ */gpg.conf \
     99        authority/lock */*.kbx */*.kbx~ */S.gpg-agent */private-keys-v1.d/*
    96100# GnuPG random pool, no need to regenerate on every build
    97101CLEANFILES += authority/random_seed
     
    142146
    143147mostlyclean-local: clean-softhsm2-db
     148        -rmdir $(pgp_identities:=/private-keys-v1.d) || true
     149if USE_MSVA
     150        -rmdir $(msva_home)/private-keys-v1.d || true
     151endif
    144152
    145153clean-local:
     
    149157        -rmdir $(msva_home) || true
    150158endif
    151         rm -f pgpcrc
    152159
    153160# Apache configuration and data files
  • test/test_ca.mk

    r298dc66 r42829ae  
    33# Daniel Kahn Gillmor <dkg@fifthhorseman.net>
    44# Thomas Klute <thomas2.klute@uni-dortmund.de>
    5 
    6 pgpcrc: pgpcrc.c
    7         gcc -o $@ $<
    85
    96# General rules to set up a miniature CA & server & client environment
     
    5855# normal case: certificates signed by test CA
    5956%/x509.pem: %.template %/cert-request authority/secret.key authority/x509.pem
    60         certtool --outfile $@ --generate-certificate --load-ca-certificate authority/x509.pem --load-ca-privkey authority/secret.key --load-request $(dir $@)cert-request --template $< 
     57        certtool --outfile $@ --generate-certificate --load-ca-certificate authority/x509.pem --load-ca-privkey authority/secret.key --load-request $(dir $@)cert-request --template $<
    6158
    6259# error case: certificates signed by rogue CA
Note: See TracChangeset for help on using the changeset viewer.