aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/threads
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-02-25 23:33:16 +0000
committerRichard Levitte <levitte@openssl.org>2000-02-25 23:33:16 +0000
commit1340db6569c1e0328fd5fb01b2549c41a9b9bcef (patch)
treeb677233229fca9b67a35dbf1d240e0c55d5b120f /crypto/threads
parent9da65c3280872e2228001fa3f0aabe4f94357c41 (diff)
downloadopenssl-1340db6569c1e0328fd5fb01b2549c41a9b9bcef.tar.gz
Small error fix.
Diffstat (limited to 'crypto/threads')
-rw-r--r--crypto/threads/mttest.c3
1 files changed, 2 insertions, 1 deletions
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);