patch-nss_lib_freebl_blapi_h 489 B

12345678910111213141516
  1. $OpenBSD: patch-nss_lib_freebl_blapi_h,v 1.5 2017/05/30 18:57:01 ajacoutot Exp $
  2. Prevent clashing symbol with libcrypto (bad ld.so(1)!).
  3. --- nss/lib/freebl/blapi.h.orig Mon Sep 26 08:00:51 2016
  4. +++ nss/lib/freebl/blapi.h Mon Oct 3 10:11:50 2016
  5. @@ -1212,6 +1212,8 @@ extern void SHA1_DestroyContext(SHA1Context *cx, PRBoo
  6. */
  7. extern void SHA1_Begin(SHA1Context *cx);
  8. +#define SHA1_Update NSS_SHA1_Update
  9. +
  10. /*
  11. ** Update the SHA-1 hash function with more data.
  12. ** "cx" the context