Land #250, implement support for hiding symbols in libcrypto
This commit is contained in:
commit
b48d11d8df
3743
crypto/crypto.def
3743
crypto/crypto.def
File diff suppressed because it is too large
Load Diff
22
crypto/crypto_win.list
Normal file
22
crypto/crypto_win.list
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
arc4random_buf
|
||||||
|
asprintf
|
||||||
|
explicit_bzero
|
||||||
|
gettimeofday
|
||||||
|
posix_close
|
||||||
|
posix_connect
|
||||||
|
posix_fgets
|
||||||
|
posix_fopen
|
||||||
|
posix_read
|
||||||
|
posix_rename
|
||||||
|
posix_write
|
||||||
|
posix_perror
|
||||||
|
posix_setsockopt
|
||||||
|
reallocarray
|
||||||
|
sleep
|
||||||
|
strcasecmp
|
||||||
|
strlcat
|
||||||
|
strlcpy
|
||||||
|
strndup
|
||||||
|
timegm
|
||||||
|
timingsafe_memcmp
|
||||||
|
vasprintf
|
@ -146,6 +146,11 @@ for i in `awk '/SOURCES|HEADERS/ { print $3 }' crypto/Makefile.am` ; do
|
|||||||
done
|
done
|
||||||
$CP crypto/compat/b_win.c crypto/bio
|
$CP crypto/compat/b_win.c crypto/bio
|
||||||
$CP crypto/compat/ui_openssl_win.c crypto/ui
|
$CP crypto/compat/ui_openssl_win.c crypto/ui
|
||||||
|
# add the libcrypto symbol export list
|
||||||
|
grep '^[[:alpha:]]' < $libcrypto_src/Symbols.list > crypto/crypto.sym
|
||||||
|
echo EXPORTS > crypto/crypto.def
|
||||||
|
grep -v BIO_s_log crypto/crypto.sym >> crypto/crypto.def
|
||||||
|
cat crypto/crypto_win.list >> crypto/crypto.def
|
||||||
|
|
||||||
# generate assembly crypto algorithms
|
# generate assembly crypto algorithms
|
||||||
asm_src=$libcrypto_src
|
asm_src=$libcrypto_src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user