diff options
author | Han Han <hhan@thousandeyes.com> | 2018-11-19 17:48:59 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-11-20 14:57:00 +0100 |
commit | 78ff4e0de3c53b026bb23a92c5c7abe3d285038e (patch) | |
tree | 3d823e731507e9d9efe4ce291550a2b59b616a46 /lib/vtls/gtls.c | |
parent | 89d2e95f783963778b3db45a398360b94587c295 (diff) | |
download | curl-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.c | 2 |
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"); |