aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");