提交 fbeb85ec 编写于 作者: D Dr. Stephen Henson

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

上级 3766e7cc
...@@ -190,7 +190,8 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx) ...@@ -190,7 +190,8 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
BIO_printf(bio_err,"\n"); BIO_printf(bio_err,"\n");
break; break;
case X509_V_ERR_NO_EXPLICIT_POLICY: case X509_V_ERR_NO_EXPLICIT_POLICY:
policies_print(bio_err, ctx); if (!verify_quiet)
policies_print(bio_err, ctx);
break; break;
} }
if (err == X509_V_OK && ok == 2 && !verify_quiet) if (err == X509_V_OK && ok == 2 && !verify_quiet)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册