aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-02-28 08:34:39 -0600
committerBrent Cook <busterb@gmail.com>2023-02-28 08:41:51 -0600
commitf261e8c46e5ce6a15638275b95d9d5c145d35d9c (patch)
tree3073f5180cb6dacfdf0a8a467aeb17f85c612606 /crypto
parent47aeda0fb235043acf0b010315d175e67fa4ed00 (diff)
downloadportable-f261e8c46e5ce6a15638275b95d9d5c145d35d9c.tar.gz
portable-f261e8c46e5ce6a15638275b95d9d5c145d35d9c.tar.bz2
portable-f261e8c46e5ce6a15638275b95d9d5c145d35d9c.zip
unexport internal compat symbols from libcrypto
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.am66
1 files changed, 0 insertions, 66 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index c09d266..0b5ba3f 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -44,73 +44,7 @@ crypto_portable.sym: crypto.sym Makefile
44 -echo "generating crypto_portable.sym ..." 44 -echo "generating crypto_portable.sym ..."
45 -cp $(top_srcdir)/crypto/crypto.sym crypto_portable.sym 45 -cp $(top_srcdir)/crypto/crypto.sym crypto_portable.sym
46 -chmod u+w crypto_portable.sym 46 -chmod u+w crypto_portable.sym
47if !HAVE_ARC4RANDOM_BUF
48 -echo arc4random >> crypto_portable.sym
49 -echo arc4random_buf >> crypto_portable.sym
50 -echo arc4random_uniform >> crypto_portable.sym
51if !HAVE_GETENTROPY
52 -echo getentropy >> crypto_portable.sym
53endif
54endif
55if !HAVE_ASPRINTF
56 -echo asprintf >> crypto_portable.sym
57 -echo vasprintf >> crypto_portable.sym
58endif
59if !HAVE_EXPLICIT_BZERO
60 -echo explicit_bzero >> crypto_portable.sym
61endif
62if !HAVE_FREEZERO
63 -echo freezero >> crypto_portable.sym
64endif
65if !HAVE_REALLOCARRAY
66 -echo reallocarray >> crypto_portable.sym
67endif
68if !HAVE_RECALLOCARRAY
69 -echo recallocarray >> crypto_portable.sym
70endif
71if !HAVE_STRLCAT
72 -echo strlcat >> crypto_portable.sym
73endif
74if !HAVE_STRLCPY
75 -echo strlcpy >> crypto_portable.sym
76endif
77if !HAVE_STRNDUP
78 -echo strndup >> crypto_portable.sym
79endif
80if !HAVE_STRNLEN
81 -echo strnlen >> crypto_portable.sym
82endif
83if !HAVE_STRSEP
84 -echo strsep >> crypto_portable.sym
85endif
86if !HAVE_STRTONUM
87 -echo strtonum >> crypto_portable.sym
88endif
89if !HAVE_TIMEGM
90 -echo timegm >> crypto_portable.sym
91endif
92if !HAVE_TIMINGSAFE_BCMP
93 -echo timingsafe_bcmp >> crypto_portable.sym
94endif
95if !HAVE_TIMINGSAFE_MEMCMP
96 -echo timingsafe_memcmp >> crypto_portable.sym
97endif
98if HOST_CPU_IS_INTEL
99 -echo OPENSSL_ia32cap_P >> crypto_portable.sym
100endif
101if HOST_WIN 47if HOST_WIN
102 -echo posix_perror >> crypto_portable.sym
103 -echo posix_fopen >> crypto_portable.sym
104 -echo posix_fgets >> crypto_portable.sym
105 -echo posix_open >> crypto_portable.sym
106 -echo posix_rename >> crypto_portable.sym
107 -echo posix_connect >> crypto_portable.sym
108 -echo posix_close >> crypto_portable.sym
109 -echo posix_read >> crypto_portable.sym
110 -echo posix_write >> crypto_portable.sym
111 -echo posix_getsockopt >> crypto_portable.sym
112 -echo posix_setsockopt >> crypto_portable.sym
113 -echo getuid >> crypto_portable.sym
114 -grep -v BIO_s_log crypto_portable.sym > crypto_portable.sym.tmp 48 -grep -v BIO_s_log crypto_portable.sym > crypto_portable.sym.tmp
115 -mv crypto_portable.sym.tmp crypto_portable.sym 49 -mv crypto_portable.sym.tmp crypto_portable.sym
116endif 50endif