From f77aa5c5e1578ca99b88faafc17fe09c86d687e4 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 15 Oct 2009 11:25:06 -0400 Subject: PR10331: build fix for older nss * stapsslerr.h: #ifdef-conditionalize a few of the error codes, apparently defined some time after NSS 3.12.2. Reported-By: Wenji Huang --- stapsslerr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stapsslerr.h') diff --git a/stapsslerr.h b/stapsslerr.h index fd989b28..8202215d 100644 --- a/stapsslerr.h +++ b/stapsslerr.h @@ -312,5 +312,9 @@ NSSYERROR(SEC_ERROR_LIBPKIX_INTERNAL,"Libpkix internal error occurred during cer NSSYERROR(SEC_ERROR_PKCS11_GENERAL_ERROR,"A PKCS #11 module returned CKR_GENERAL_ERROR, indicating that an unrecoverable error has occurred."); NSSYERROR(SEC_ERROR_PKCS11_FUNCTION_FAILED,"A PKCS #11 module returned CKR_FUNCTION_FAILED, indicating that the requested function could not be performed.Trying the same operation again might succeed."); NSSYERROR(SEC_ERROR_PKCS11_DEVICE_ERROR,"A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot."); +#ifdef SEC_ERROR_BAD_INFO_ACCESS_METHOD NSSYERROR(SEC_ERROR_BAD_INFO_ACCESS_METHOD,"Unknown information access method in certificate extension."); +#endif +#ifdef SEC_ERROR_CRL_IMPORT_FAILED NSSYERROR(SEC_ERROR_CRL_IMPORT_FAILED,"Error attempting to import a CRL."); +#endif -- cgit