From: Nikos Mavrogiannopoulos Date: Mon, 31 Jan 2011 22:09:32 +0000 (+0100) Subject: Modified output to not confuse earlier scripts. X-Git-Tag: gnutls_2_99_0~348 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1750efbbd46e4141985cb4561df521591366e16f;p=thirdparty%2Fgnutls.git Modified output to not confuse earlier scripts. --- diff --git a/src/certtool.c b/src/certtool.c index ae946b4457..0dd60e542e 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -1960,7 +1960,7 @@ static int detailed_verification(gnutls_x509_crt_t cert, if (ret < 0) error (EXIT_FAILURE, 0, "gnutls_x509_crt_get_issuer_dn: %s", gnutls_strerror (ret)); - fprintf (outfile, "\tVerified against: %s\n", issuer_name); + fprintf (outfile, "\tChecked against: %s\n", issuer_name); } if (crl != NULL) @@ -1987,7 +1987,7 @@ static int detailed_verification(gnutls_x509_crt_t cert, if (ret < 0) error (EXIT_FAILURE, 0, "gnutls_hex_encode: %s", gnutls_strerror (ret)); } - fprintf (outfile, "\tVerified against CRL[%s] of: %s\n", name, issuer_name); + fprintf (outfile, "\tChecked against CRL[%s] of: %s\n", name, issuer_name); } fprintf (outfile, "\tOutput: "); diff --git a/tests/sha2/sha2 b/tests/sha2/sha2 index d094326a9e..a2b810b89e 100755 --- a/tests/sha2/sha2 +++ b/tests/sha2/sha2 @@ -84,7 +84,7 @@ fi num=`cat new-user.pem new-subsubca.pem new-subca.pem new-ca.pem | $CERTTOOL --verify-chain | tee verify | grep -c Verified` #cat verify -if test "$num" != "5"; then +if test "$num" != "4"; then echo Verification failure exit 1 fi