提交 1340db65 编写于 作者: R Richard Levitte

Small error fix.

上级 9da65c32
......@@ -660,9 +660,10 @@ int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
if (verbose)
{
s=X509_NAME_oneline(X509_get_subject_name(ctx->current_cert),
buf,256);
if (s != NULL)
{
s=X509_NAME_oneline(X509_get_subject_name(ctx->current_cert),buf,256);
if (ok)
fprintf(stderr,"depth=%d %s\n",
ctx->error_depth,buf);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册