summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-am
blob: 2578d6a87193be8861c217f3b775db308710988e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-am,v 1.5 2012/03/10 11:42:38 ryoon Exp $

SHA1_Update conflicts with openssl which may be dynamically loaded
at runtime via libcups or libgssapi so causing a crash due to using
the wrong binding.  So rename here to avoid conflict.

--- mozilla/security/nss/lib/freebl/blapi.h.orig	2012-02-16 10:25:24.000000000 +0000
+++ mozilla/security/nss/lib/freebl/blapi.h
@@ -1038,6 +1038,8 @@ extern void SHA1_DestroyContext(SHA1Cont
 */
 extern void SHA1_Begin(SHA1Context *cx);
 
+#define SHA1_Update NSS_SHA1_Update
+
 /*
 ** Update the SHA-1 hash function with more data.
 **	"cx" the context