From b5190d093c7d51aaa8b5160a4d71990ad5c3c808 Mon Sep 17 00:00:00 2001 From: "kaie@kuix.de" Date: Mon, 12 Nov 2007 16:11:54 -0800 Subject: [PATCH] Bug 401954, Include latest NSS error strings r=nelson, a=mtschrep --- .../manager/locales/en-US/chrome/pipnss/nsserrors.properties | 2 ++ security/manager/ssl/src/nsNSSErrors.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/security/manager/locales/en-US/chrome/pipnss/nsserrors.properties b/security/manager/locales/en-US/chrome/pipnss/nsserrors.properties index 0f6c1e5e72a..20c0c1cb85b 100644 --- a/security/manager/locales/en-US/chrome/pipnss/nsserrors.properties +++ b/security/manager/locales/en-US/chrome/pipnss/nsserrors.properties @@ -260,3 +260,5 @@ SEC_ERROR_NO_EVENT=No new slot event is available at this time. SEC_ERROR_CRL_ALREADY_EXISTS=CRL already exists. SEC_ERROR_NOT_INITIALIZED=NSS is not initialized. SEC_ERROR_TOKEN_NOT_LOGGED_IN=The operation failed because the PKCS#11 token is not logged in. +SEC_ERROR_OCSP_RESPONDER_CERT_INVALID=Configured OCSP responder's certificate is invalid. +SEC_ERROR_OCSP_BAD_SIGNATURE=OCSP response has an invalid signature. diff --git a/security/manager/ssl/src/nsNSSErrors.cpp b/security/manager/ssl/src/nsNSSErrors.cpp index 6c6cde158ae..50d90e2cf07 100644 --- a/security/manager/ssl/src/nsNSSErrors.cpp +++ b/security/manager/ssl/src/nsNSSErrors.cpp @@ -310,6 +310,8 @@ nsNSSErrors::getDefaultErrorStringName(PRInt32 err) case SEC_ERROR_CRL_ALREADY_EXISTS: id_str = "SEC_ERROR_CRL_ALREADY_EXISTS"; break; case SEC_ERROR_NOT_INITIALIZED: id_str = "SEC_ERROR_NOT_INITIALIZED"; break; case SEC_ERROR_TOKEN_NOT_LOGGED_IN: id_str = "SEC_ERROR_TOKEN_NOT_LOGGED_IN"; break; + case SEC_ERROR_OCSP_RESPONDER_CERT_INVALID: id_str = "SEC_ERROR_OCSP_RESPONDER_CERT_INVALID"; break; + case SEC_ERROR_OCSP_BAD_SIGNATURE: id_str = "SEC_ERROR_OCSP_BAD_SIGNATURE"; break; } return id_str;