X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fthreads%2Fmttest.c;h=47faef53c4641313efe16038e1f7b3a04ea8a11a;hp=40c1cfc6c2b28c9f355842493d6ea57e195394ec;hb=1340db6569c1e0328fd5fb01b2549c41a9b9bcef;hpb=9da65c3280872e2228001fa3f0aabe4f94357c41;ds=inline diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index 40c1cfc6c2..47faef53c4 100644 --- a/crypto/threads/mttest.c +++ b/crypto/threads/mttest.c @@ -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);