openbsd-ports/security/nss/patches/patch-nss_lib_freebl_blapi_h
landry 559f7b8b5e Update to nss 3.15.4, needed by gecko 27.
Contains a fix for (CVE-2013-1740): When false start is enabled, libssl
will sometimes return unencrypted, unauthenticated data from PR_Recv
(https://bugzilla.mozilla.org/show_bug.cgi?id=919877)

See https://developer.mozilla.org/en-US/docs/NSS/NSS_3.15.4_release_notes
2014-01-09 20:09:44 +00:00

17 lines
520 B
Plaintext

$OpenBSD: patch-nss_lib_freebl_blapi_h,v 1.2 2014/01/09 20:09:44 landry Exp $
From firefox in pkgsrc:
SHA1_Update conflicts with openssl which may be dynamically loaded
--- nss/lib/freebl/blapi.h.orig Fri Jan 3 20:59:10 2014
+++ nss/lib/freebl/blapi.h Mon Jan 6 22:46:56 2014
@@ -1189,6 +1189,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