Changeset c32240f in mod_gnutls for t


Ignore:
Timestamp:
Sep 24, 2014, 1:01:57 PM (5 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
259e835, 2afbe2e, 64dadf8, eebc960
Parents:
fd82e59
Message:

switch from --long-arg=foo to --long-arg foo for certtool in test suite

it looks like certtool from gnutls 2.x doesn't support the
--long-arg=foo convention, and both newer and older versions support
the --long-arg foo convention, so be more compatible.

Thanks to Ramkumar Chinchani for pointing this out.

Location:
t
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • t/Makefile

    rfd82e59 rc32240f  
    6262# special cases for the authorities' root certs:
    6363authority/x509.pem: authority.template authority/secret.key
    64         certtool --generate-self-signed --load-privkey=authority/secret.key --template=authority.template > $@
     64        certtool --generate-self-signed --load-privkey authority/secret.key --template authority.template > $@
    6565rogueca/x509.pem: rogueca.template rogueca/secret.key
    66         certtool --generate-self-signed --load-privkey=rogueca/secret.key --template=rogueca.template > $@
     66        certtool --generate-self-signed --load-privkey rogueca/secret.key --template rogueca.template > $@
    6767
    6868%/cert-request: %.template %/secret.key
    69         certtool --generate-request --load-privkey=$(dir $@)secret.key --template=$< > $@
     69        certtool --generate-request --load-privkey $(dir $@)secret.key --template $< > $@
    7070
    7171%/x509.pem: %.template %/cert-request authority/secret.key authority/x509.pem
    72         certtool --generate-certificate --load-ca-certificate=authority/x509.pem --load-ca-privkey=authority/secret.key --load-request=$(dir $@)cert-request --template=$< > $@
     72        certtool --generate-certificate --load-ca-certificate authority/x509.pem --load-ca-privkey authority/secret.key --load-request $(dir $@)cert-request --template $< > $@
    7373
    7474msva.gnupghome/trustdb.gpg: authority/minimal.pgp client/cert.pgp
  • t/setup

    rfd82e59 rc32240f  
    3838genkey "$PWD/client" "Test User <test0@modgnutls.test>"
    3939
    40 certtool -q --load-privkey=server/secret.key  --template=server.template > server/server.req
     40certtool -q --load-privkey server/secret.key  --template server.template > server/server.req
    4141
    4242
Note: See TracChangeset for help on using the changeset viewer.