Changeset b0e5dae in mod_gnutls for test/test_ca.mk


Ignore:
Timestamp:
Feb 12, 2016, 9:20:46 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
aeaf28b
Parents:
6f644fa
Message:

Test suite: Add support for SoftHSM 2

./configure now detects SoftHSM version 1 or 2, and test case
"24_pkcs11_cert" can use either to provide its PKCS #11 token.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_ca.mk

    r6f644fa rb0e5dae  
    6464        $(srcdir)/softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem
    6565
     66%/softhsm2.conf: %/secret.key
     67        echo "objectstore.backend = file" > $@
     68        echo "directories.tokendir = $(dir $@)softhsm2.db" >> $@
     69
     70%/softhsm2.db: %/x509.pem %/secret.key %/softhsm2.conf
     71        mkdir -p $@
     72        SOFTHSM="@SOFTHSM@" \
     73        SOFTHSM2_CONF="$(dir $@)softhsm2.conf" \
     74        $(srcdir)/softhsm.bash init $(dir $@)secret.key $(dir $@)x509.pem
     75
    6676# Generate CRL revoking a certain certificate. Currently used to
    6777# revoke the server certificate and check if setting the CRL as
Note: See TracChangeset for help on using the changeset viewer.