Nic Roets brought a fix for the certificate verification when using SSL.

This commit is contained in:
Daniel Stenberg
2001-06-29 07:38:11 +00:00
parent ae55c1c144
commit 813d7585c7
2 changed files with 13 additions and 1 deletions

View File

@@ -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