diff options
Diffstat (limited to 'tests/cert-tests/crq.sh')
-rwxr-xr-x | tests/cert-tests/crq.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cert-tests/crq.sh b/tests/cert-tests/crq.sh index 21044cfa3f..7533168908 100755 --- a/tests/cert-tests/crq.sh +++ b/tests/cert-tests/crq.sh @@ -59,7 +59,7 @@ fi rm -f "${OUTFILE}" # check whether the honor_crq_extension option works -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" --generate-request \ --load-privkey "${srcdir}/data/template-test.key" \ --template "${srcdir}/templates/template-tlsfeature.tmpl" \ @@ -78,7 +78,7 @@ if grep -v '^-----BEGIN [A-Z0-9 ]\+-----$' ${TMPFILE} | grep -v '^[A-Za-z0-9/+=] exit 1 fi -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" --generate-certificate \ --load-ca-privkey "${srcdir}/data/template-test.key" \ --load-ca-certificate "${srcdir}/data/template-tlsfeature.pem" \ @@ -131,7 +131,7 @@ N __EOF__ setsid \ -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" -q \ --load-privkey "${srcdir}/data/template-test.key" \ --outfile "${OUTFILE}" <$TMPFILE 2>/dev/null @@ -147,7 +147,7 @@ if test "${rc}" != "0"; then fi # check whether the generation with extension works -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" --generate-request \ --load-privkey "${srcdir}/data/template-test.key" \ --template "${srcdir}/templates/arb-extensions.tmpl" \ @@ -168,7 +168,7 @@ if test "${rc}" != "0"; then fi # Generate certificate from CRQ with no explicit extensions -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" --generate-certificate \ --load-ca-privkey "${srcdir}/../../doc/credentials/x509/ca-key.pem" \ --load-ca-certificate "${srcdir}/../../doc/credentials/x509/ca.pem" \ @@ -191,7 +191,7 @@ if test "${rc}" != "0"; then fi # Generate certificate from CRQ with CRQ extensions -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" --generate-certificate \ --load-ca-privkey "${srcdir}/../../doc/credentials/x509/ca-key.pem" \ --load-ca-certificate "${srcdir}/../../doc/credentials/x509/ca.pem" \ @@ -214,7 +214,7 @@ if test "${rc}" != "0"; then fi # Generate certificate from CRQ with explicit extensions -datefudge -s "2007-04-22" \ +datefudge -s "2007-04-22 00:00:00" \ "${CERTTOOL}" --generate-certificate \ --load-ca-privkey "${srcdir}/../../doc/credentials/x509/ca-key.pem" \ --load-ca-certificate "${srcdir}/../../doc/credentials/x509/ca.pem" \ |