$OpenBSD: patch-mozilla_security_nss_lib_freebl_blapi_h,v 1.2 2011/01/15 16:59:37 landry Exp $

From firefox in pkgsrc:
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	Sat Dec  4 19:59:01 2010
+++ mozilla/security/nss/lib/freebl/blapi.h	Thu Jan 13 14:02:49 2011
@@ -1038,6 +1038,8 @@ extern void SHA1_DestroyContext(SHA1Context *cx, PRBoo
 */
 extern void SHA1_Begin(SHA1Context *cx);
 
+#define SHA1_Update NSS_SHA1_Update
+
 /*
 ** Update the SHA-1 hash function with more data.
 **	"cx" the context
