diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index 40c1cfc6c..47faef53c 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);