summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-10-15 11:25:06 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-10-15 11:25:06 -0400
commitf77aa5c5e1578ca99b88faafc17fe09c86d687e4 (patch)
tree687f8e45ffee692134e441d013d766fad8365d94
parenta300618f4ce2e1fa2d7763d97a3b25adff3e66df (diff)
downloadsystemtap-steved-f77aa5c5e1578ca99b88faafc17fe09c86d687e4.tar.gz
systemtap-steved-f77aa5c5e1578ca99b88faafc17fe09c86d687e4.tar.xz
systemtap-steved-f77aa5c5e1578ca99b88faafc17fe09c86d687e4.zip
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 <wenji.huang@oracle.com>
-rw-r--r--stapsslerr.h4
1 files changed, 4 insertions, 0 deletions
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