mirror of
https://github.com/curl/curl.git
synced 2026-08-03 07:20:28 +03:00
Nic Roets brought a fix for the certificate verification when using SSL.
This commit is contained in:
parent
ae55c1c144
commit
813d7585c7
2 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue