mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Small error fix.
This commit is contained in:
parent
9da65c3280
commit
1340db6569
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user