ssluse: removed redundant check that is always true
This commit is contained in:
parent
8e2f16e66f
commit
aca67e2775
@ -1595,10 +1595,8 @@ ossl_connect_step1(struct connectdata *conn,
|
|||||||
if ( !lookup ||
|
if ( !lookup ||
|
||||||
(!X509_load_crl_file(lookup,data->set.str[STRING_SSL_CRLFILE],
|
(!X509_load_crl_file(lookup,data->set.str[STRING_SSL_CRLFILE],
|
||||||
X509_FILETYPE_PEM)) ) {
|
X509_FILETYPE_PEM)) ) {
|
||||||
failf(data,"error loading CRL file :\n"
|
failf(data,"error loading CRL file: %s\n",
|
||||||
" CRLfile: %s\n",
|
data->set.str[STRING_SSL_CRLFILE]);
|
||||||
data->set.str[STRING_SSL_CRLFILE]?
|
|
||||||
data->set.str[STRING_SSL_CRLFILE]: "none");
|
|
||||||
return CURLE_SSL_CRL_BADFILE;
|
return CURLE_SSL_CRL_BADFILE;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user