summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-23 22:12:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-23 22:12:37 +0200
commit0154d5fbcaa4f0b99fda9456bd67d9b74bdedb4b (patch)
tree0f9df6e980e7fe94cc6df489c947c92d25f8c8bc
parent06fd7a1c8a0edb18e93a9b30d5bb5ec23f4e3022 (diff)
downloadcurl-bagder/sectransp-sslread-reneg.tar.gz
-rw-r--r--lib/vtls/sectransp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/sectransp.c b/lib/vtls/sectransp.c
index 97cdb585d..3fb125ab5 100644
--- a/lib/vtls/sectransp.c
+++ b/lib/vtls/sectransp.c
@@ -3214,7 +3214,7 @@ static ssize_t sectransp_recv(struct connectdata *conn,
Leopard's headers */
case -9841:
if(SSL_CONN_CONFIG(CAfile) && SSL_CONN_CONFIG(verifypeer)) {
- CURLcode result = verify_cert(SSL_CONN_CONFIG(CAfile), data,
+ CURLcode result = verify_cert(SSL_CONN_CONFIG(CAfile), conn->data,
BACKEND->ssl_ctx);
if(result)
return result;