diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-06-27 13:33:21 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-06-27 13:33:21 +0200 |
commit | f3460b5c0caf1e5898c33cbf819c2a72b0df4f3c (patch) | |
tree | 1e420945b1dfcf5ba3e722fbe06505f33231b805 /tests | |
parent | 185a2d58ebd49d8e33f0ed501a6e09168e692f88 (diff) | |
download | gnutls-f3460b5c0caf1e5898c33cbf819c2a72b0df4f3c.tar.gz |
Can't use /dev/null as template under mingw32, probably really a bug
in cfg+.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/key-id/key-id | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/key-id/key-id b/tests/key-id/key-id index 69e70168fd..d0a017bda2 100755 --- a/tests/key-id/key-id +++ b/tests/key-id/key-id @@ -25,7 +25,9 @@ set -e srcdir=${srcdir:-.} CERTTOOL=${CERTTOOL:-../../src/certtool} -PARAMS="--generate-certificate --load-privkey $srcdir/key-user.pem --load-ca-privkey $srcdir/key-ca.pem --template /dev/null" +PARAMS="--generate-certificate --load-privkey $srcdir/key-user.pem --load-ca-privkey $srcdir/key-ca.pem --template tmpl" + +echo > tmpl #$CERTTOOL $PARAMS --load-ca-certificate $srcdir/ca-gnutls-keyid.pem \ # --outfile user-gnutls-keyid.pem 2> /dev/null @@ -41,7 +43,7 @@ if ! $CERTTOOL -i < user-weird-keyid.pem | grep '7a2c7a6097460603cbfb28e8e219df1 exit 1; fi -rm -f user-gnutls-keyid.pem user-no-keyid.pem user-weird-keyid.pem +rm -f tmpl user-gnutls-keyid.pem user-no-keyid.pem user-weird-keyid.pem # We're done. exit 0 |