mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
don't print verbose policy check messages when -quiet is selected even on error
This commit is contained in:
parent
3766e7ccab
commit
fbeb85ecb9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user