don't print verbose policy check messages when -quiet is selected even on error

This commit is contained in:
Dr. Stephen Henson 2012-12-04 23:18:44 +00:00
parent 3766e7ccab
commit fbeb85ecb9

View File

@ -190,7 +190,8 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
BIO_printf(bio_err,"\n");
break;
case X509_V_ERR_NO_EXPLICIT_POLICY:
policies_print(bio_err, ctx);
if (!verify_quiet)
policies_print(bio_err, ctx);
break;
}
if (err == X509_V_OK && ok == 2 && !verify_quiet)