aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-03-13 23:34:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-03-13 23:34:25 +0000
commitd494d629539d3d9d0afd708a44b9a4b0f8f8dba2 (patch)
tree38ac1828f2fc6174ba884dcd146818cda0bb9f6d
parent7206181385ddbf29afe62250c780991c92531f45 (diff)
David McCreedy found a use of the wrong variable when display the error
text from OpenSSL.
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 046003c42..0ec216a3f 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -1521,7 +1521,7 @@ Curl_ossl_connect(struct connectdata *conn,
else
infof(data, "SSL certificate verify result: %s (%ld),"
" continuing anyway.\n",
- X509_verify_cert_error_string(err), lerr);
+ X509_verify_cert_error_string(lerr), lerr);
}
else
infof(data, "SSL certificate verify ok.\n");