mirror of
https://github.com/curl/curl.git
synced 2026-07-29 06:23:07 +03:00
- Chris Mumford filed bug report #2861587
(http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used the OpenSSL function X509_load_crl_file() wrongly and failed if it would load a CRL file with more than one certificate within. This is now fixed.
This commit is contained in:
parent
15be441ad8
commit
e3d623f190
3 changed files with 10 additions and 3 deletions
|
|
@ -1536,8 +1536,8 @@ ossl_connect_step1(struct connectdata *conn,
|
|||
* revocation */
|
||||
lookup=X509_STORE_add_lookup(connssl->ctx->cert_store,X509_LOOKUP_file());
|
||||
if ( !lookup ||
|
||||
(X509_load_crl_file(lookup,data->set.str[STRING_SSL_CRLFILE],
|
||||
X509_FILETYPE_PEM)!=1) ) {
|
||||
(!X509_load_crl_file(lookup,data->set.str[STRING_SSL_CRLFILE],
|
||||
X509_FILETYPE_PEM)) ) {
|
||||
failf(data,"error loading CRL file :\n"
|
||||
" CRLfile: %s\n",
|
||||
data->set.str[STRING_SSL_CRLFILE]?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue