mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
nss: fix error messages for CURLE_SSL_{CACERT,CRL}_BADFILE
Do not use the error messages from NSS for errors not occurring in NSS.
This commit is contained in:
parent
18e7c14f30
commit
26613d7817
@ -28,6 +28,7 @@ This release includes the following bugfixes:
|
|||||||
o build: fix AIX compilation and usage of events/revents
|
o build: fix AIX compilation and usage of events/revents
|
||||||
o VC Makefiles: add missing hostcheck
|
o VC Makefiles: add missing hostcheck
|
||||||
o nss: clear session cache if a client certificate from file is used
|
o nss: clear session cache if a client certificate from file is used
|
||||||
|
o nss: fix error messages for CURLE_SSL_{CACERT,CRL}_BADFILE
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
|
@ -1093,10 +1093,8 @@ static bool is_nss_error(CURLcode err)
|
|||||||
switch(err) {
|
switch(err) {
|
||||||
case CURLE_PEER_FAILED_VERIFICATION:
|
case CURLE_PEER_FAILED_VERIFICATION:
|
||||||
case CURLE_SSL_CACERT:
|
case CURLE_SSL_CACERT:
|
||||||
case CURLE_SSL_CACERT_BADFILE:
|
|
||||||
case CURLE_SSL_CERTPROBLEM:
|
case CURLE_SSL_CERTPROBLEM:
|
||||||
case CURLE_SSL_CONNECT_ERROR:
|
case CURLE_SSL_CONNECT_ERROR:
|
||||||
case CURLE_SSL_CRL_BADFILE:
|
|
||||||
case CURLE_SSL_ISSUER_ERROR:
|
case CURLE_SSL_ISSUER_ERROR:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user