summaryrefslogtreecommitdiff
path: root/www/firefox3/patches/patch-em
blob: 25de86513cb819c73d4ddb3d471ca6b27239f2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-em,v 1.1 2009/02/11 10:09:47 markd 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.

--- security/nss/lib/freebl/blapi.h.orig	2007-11-10 07:49:32.000000000 +1300
+++ security/nss/lib/freebl/blapi.h
@@ -899,6 +899,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