diff options
author | beck <> | 2022-11-11 11:25:18 +0000 |
---|---|---|
committer | beck <> | 2022-11-11 11:25:18 +0000 |
commit | 83e73dadd90af52585df1bcce4e5b84da25fe19e (patch) | |
tree | ed6caa2922a04c9566669564e9dda8a563bf522a /src/lib/libcrypto/Symbols.namespace | |
parent | 522ea7abc19e814a672474a8f25f67f470ceb772 (diff) | |
download | openbsd-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.namespace | 9 |
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 | ||