From: Daniel Stenberg Date: Mon, 13 Mar 2006 23:34:25 +0000 (+0000) Subject: David McCreedy found a use of the wrong variable when display the error X-Git-Tag: curl-7_15_3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d494d629539d3d9d0afd708a44b9a4b0f8f8dba2;p=thirdparty%2Fcurl.git David McCreedy found a use of the wrong variable when display the error text from OpenSSL. --- diff --git a/lib/ssluse.c b/lib/ssluse.c index 046003c42a..0ec216a3f4 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");