]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Modified output to not confuse earlier scripts.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 31 Jan 2011 22:09:32 +0000 (23:09 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 31 Jan 2011 22:14:38 +0000 (23:14 +0100)
src/certtool.c
tests/sha2/sha2

index ae946b4457c50cb2e17746bdbf7e98e7fe5be233..0dd60e542e0fa80be6da29182fae0ae4247b7531 100644 (file)
@@ -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: ");
index d094326a9e06b6186d04b2f27762dd141a1fd1c1..a2b810b89e442a857de1574459b2eb1a51560aec 100755 (executable)
@@ -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