Changeset 6f644fa in mod_gnutls for test/test_ca.mk


Ignore:
Timestamp:
Feb 12, 2016, 8:40:37 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
b0e5dae
Parents:
74772b2
git-author:
Thomas Klute <thomas2.klute@…> (02/12/16 20:38:32)
git-committer:
Thomas Klute <thomas2.klute@…> (02/12/16 20:40:37)
Message:

Test suite: Generate SoftHSM config for initialization as needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_ca.mk

    r74772b2 r6f644fa  
    5656        certtool --generate-certificate --load-ca-certificate rogueca/x509.pem --load-ca-privkey rogueca/secret.key --load-request $(dir $@)cert-request --template $< > $@
    5757
    58 %/softhsm.db: %/x509.pem %/secret.key
     58%/softhsm.conf: %/secret.key
     59        echo "0:$(dir $@)softhsm.db" > $@
     60
     61%/softhsm.db: %/x509.pem %/secret.key %/softhsm.conf
    5962        SOFTHSM="$(SOFTHSM)" \
    60         SOFTHSM_CONF="$(srcdir)/$(*)-softhsm.conf" $(srcdir)/softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem
     63        SOFTHSM_CONF="$(dir $@)softhsm.conf" \
     64        $(srcdir)/softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem
    6165
    6266# Generate CRL revoking a certain certificate. Currently used to
Note: See TracChangeset for help on using the changeset viewer.