From 813d7585c71eae040eab1039fc2a7e7e4d38749e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 29 Jun 2001 07:38:11 +0000 Subject: [PATCH] Nic Roets brought a fix for the certificate verification when using SSL. --- CHANGES | 12 ++++++++++++ lib/ssluse.c | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 1c6d7e2c3..b3fc8c045 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,16 @@ History of Changes +Daniel (29 June 2001) +- Nic Roets brought a fix for the certificate verification when using SSL. + +Daniel (27 June 2001) +- Made the FTP tests run OK even on machines running curl IPv6-enabled. + +- Troy Engel corrected some RPM package details. + +Version 7.8.1-pre2 + Daniel (25 June 2001) - Björn Stenberg correctly identified a problem that occurred when downloading several files with curl, and using resume. The first file's resume index was @@ -14,6 +24,8 @@ Daniel (25 June 2001) - Anton Kalmykov provided a fix that makes curl work with form field names with spaces like when -F is used. +Version 7.8.1-pre1 + Daniel (20 June 2001) - Mike Bytnar provided a fine report that proved that the --with-ssl option for configure needed tweaking. It no longer searches the default directories 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