From 83e73dadd90af52585df1bcce4e5b84da25fe19e Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 11 Nov 2022 11:25:18 +0000 Subject: Add support for symbol hiding disabled by default. Fully explained in libcrypto/README. TL;DR make sure libcrypto and libssl's function calls internally and to each other are via symbol names that won't get overridden by linking other libraries. Mostly work by guenther@, which will currently be gated behind a build setting NAMESPACE=yes. once we convert all the symbols to this method we will do a major bump and pick up the changes. ok tb@ jsing@ --- src/lib/libcrypto/Symbols.namespace | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/lib/libcrypto/Symbols.namespace (limited to 'src/lib/libcrypto/Symbols.namespace') diff --git a/src/lib/libcrypto/Symbols.namespace b/src/lib/libcrypto/Symbols.namespace new file mode 100644 index 0000000000..31f7fba4c8 --- /dev/null +++ b/src/lib/libcrypto/Symbols.namespace @@ -0,0 +1,9 @@ +_libre_HMAC +_libre_HMAC_CTX_copy +_libre_HMAC_CTX_free +_libre_HMAC_CTX_get_md +_libre_HMAC_CTX_new +_libre_HMAC_CTX_set_flags +_libre_HMAC_Final +_libre_HMAC_Init_ex +_libre_HMAC_Update -- cgit v1.2.3-55-g6feb