summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Symbols.namespace
diff options
context:
space:
mode:
authorbeck <>2022-11-11 11:25:18 +0000
committerbeck <>2022-11-11 11:25:18 +0000
commit83e73dadd90af52585df1bcce4e5b84da25fe19e (patch)
treeed6caa2922a04c9566669564e9dda8a563bf522a /src/lib/libcrypto/Symbols.namespace
parent522ea7abc19e814a672474a8f25f67f470ceb772 (diff)
downloadopenbsd-83e73dadd90af52585df1bcce4e5b84da25fe19e.tar.gz
openbsd-83e73dadd90af52585df1bcce4e5b84da25fe19e.tar.bz2
openbsd-83e73dadd90af52585df1bcce4e5b84da25fe19e.zip
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@
Diffstat (limited to 'src/lib/libcrypto/Symbols.namespace')
-rw-r--r--src/lib/libcrypto/Symbols.namespace9
1 files changed, 9 insertions, 0 deletions
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 @@
1_libre_HMAC
2_libre_HMAC_CTX_copy
3_libre_HMAC_CTX_free
4_libre_HMAC_CTX_get_md
5_libre_HMAC_CTX_new
6_libre_HMAC_CTX_set_flags
7_libre_HMAC_Final
8_libre_HMAC_Init_ex
9_libre_HMAC_Update