CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2019/04/07 12:48:38
Modified files:
security/nss : Makefile
security/nss/patches: patch-nss_lib_freebl_alghmac_h
patch-nss_lib_freebl_blapi_h
Log message:
Rename additional symbols in NSS that conflict with libcrypto.
NSS has a number of internal functions (used inter-library between NSS's
various libraries, not exported in the public API) that conflict with
libcrypto:
HMAC_Init, HMAC_Update, MD5_Update, SHA1_Update, SHA224_Update,
SHA256_Update, SHA384_Update, SHA512_Update.
We were already renaming (via #define macro) SHA1_Update and HMAC_Update
but some programs use others - notably libreoffice, which uses HMAC_Init and
HMAC_Update when saving encrypted .od* files - as robert@ tracked down, the
NSS version was being called instead of the expected libcrypto one.
Fix by renaming the remaining conflicting functions the same way.