aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-06-29 07:38:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-06-29 07:38:11 +0000
commit813d7585c71eae040eab1039fc2a7e7e4d38749e (patch)
treeeaef3b9b5acdc8962d7567221cc3a4376893313f /lib
parentae55c1c1444b228341cdc748172f1e89242b61c3 (diff)
Nic Roets brought a fix for the certificate verification when using SSL.
Diffstat (limited to 'lib')
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index d91cf5f7b..a35b05140 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -230,7 +230,7 @@ int cert_verify_callback(int ok, X509_STORE_CTX *ctx)
err_cert=X509_STORE_CTX_get_current_cert(ctx);
X509_NAME_oneline(X509_get_subject_name(err_cert),buf,256);
- return 1;
+ return ok;
}
#endif