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)
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: ");
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