David McCreedy found a use of the wrong variable when display the error

text from OpenSSL.
This commit is contained in:
Daniel Stenberg 2006-03-13 23:34:25 +00:00
parent 7206181385
commit d494d62953
1 changed files with 1 additions and 1 deletions

View File

@ -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");