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:
Kamil Dudka 2013-01-15 12:58:08 +01:00
parent 18e7c14f30
commit 26613d7817
2 changed files with 1 additions and 2 deletions

View File

@ -28,6 +28,7 @@ This release includes the following bugfixes:
o build: fix AIX compilation and usage of events/revents
o VC Makefiles: add missing hostcheck
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:

View File

@ -1093,10 +1093,8 @@ static bool is_nss_error(CURLcode err)
switch(err) {
case CURLE_PEER_FAILED_VERIFICATION:
case CURLE_SSL_CACERT:
case CURLE_SSL_CACERT_BADFILE:
case CURLE_SSL_CERTPROBLEM:
case CURLE_SSL_CONNECT_ERROR:
case CURLE_SSL_CRL_BADFILE:
case CURLE_SSL_ISSUER_ERROR:
return true;