pkgsrc/mail/evolution-data-server/patches/patch-bd
drochner acfaba49d2 update to 2.26.0
This switches to the gnome-2.26 release branch
2009-03-19 12:02:09 +00:00

15 lines
1.1 KiB
Text

$NetBSD: patch-bd,v 1.2 2009/03/19 12:02:09 drochner Exp $
--- camel/camel-smime-context.c.orig 2009-03-17 20:28:40.000000000 +0100
+++ camel/camel-smime-context.c
@@ -380,8 +380,10 @@ nss_error_to_string (long errorcode)
cs (SEC_ERROR_CRL_ALREADY_EXISTS, "CRL already exists.")
cs (SEC_ERROR_NOT_INITIALIZED, "NSS is not initialized.")
cs (SEC_ERROR_TOKEN_NOT_LOGGED_IN, "The operation failed because the PKCS#11 token is not logged in.")
+#if defined(NSS_VMAJOR) && defined(NSS_VMINOR) && defined(NSS_VPATCH) && (NSS_VMAJOR > 3 || (NSS_VMAJOR == 3 && NSS_VMINOR > 11) || (NSS_VMAJOR == 3 && NSS_VMINOR == 11 && NSS_VPATCH >= 6))
cs (SEC_ERROR_OCSP_RESPONDER_CERT_INVALID, "Configured OCSP responder's certificate is invalid.")
cs (SEC_ERROR_OCSP_BAD_SIGNATURE, "OCSP response has an invalid signature.")
+#endif
#if defined(NSS_VMAJOR) && defined(NSS_VMINOR) && defined(NSS_VPATCH) && (NSS_VMAJOR > 3 || (NSS_VMAJOR == 3 && NSS_VMINOR > 12) || (NSS_VMAJOR == 3 && NSS_VMINOR == 12 && NSS_VPATCH >= 2))
cs (SEC_ERROR_OUT_OF_SEARCH_LIMITS, "Cert validation search is out of search limits")