summaryrefslogtreecommitdiff
path: root/lib/vtls/gtls.c
diff options
context:
space:
mode:
authorHan Han <hhan@thousandeyes.com>2018-11-19 17:48:59 -0800
committerDaniel Stenberg <daniel@haxx.se>2018-11-20 14:57:00 +0100
commit78ff4e0de3c53b026bb23a92c5c7abe3d285038e (patch)
tree3d823e731507e9d9efe4ce291550a2b59b616a46 /lib/vtls/gtls.c
parent89d2e95f783963778b3db45a398360b94587c295 (diff)
downloadcurl-78ff4e0de3c53b026bb23a92c5c7abe3d285038e.tar.gz
ssl: replace all internal uses of CURLE_SSL_CACERT
Closes #3291
Diffstat (limited to 'lib/vtls/gtls.c')
-rw-r--r--lib/vtls/gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
index 37662a748..84331a425 100644
--- a/lib/vtls/gtls.c
+++ b/lib/vtls/gtls.c
@@ -1110,7 +1110,7 @@ gtls_connect_step3(struct connectdata *conn,
"CRLfile: %s", SSL_CONN_CONFIG(CAfile) ? SSL_CONN_CONFIG(CAfile):
"none",
SSL_SET_OPTION(CRLfile)?SSL_SET_OPTION(CRLfile):"none");
- return CURLE_SSL_CACERT;
+ return CURLE_PEER_FAILED_VERIFICATION;
}
else
infof(data, "\t server certificate verification FAILED\n");