diff options
Diffstat (limited to '')
-rw-r--r-- | crypto/CMakeLists.txt | 8 | ||||
-rw-r--r-- | crypto/Makefile.am | 1 | ||||
-rw-r--r-- | m4/check-libc.m4 | 12 | ||||
-rw-r--r-- | ssl/CMakeLists.txt | 1 | ||||
-rw-r--r-- | ssl/Makefile.am | 1 |
5 files changed, 10 insertions, 13 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 41dc37b..47f0077 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -429,6 +429,7 @@ set( | |||
429 | evp/m_gostr341194.c | 429 | evp/m_gostr341194.c |
430 | evp/m_md4.c | 430 | evp/m_md4.c |
431 | evp/m_md5.c | 431 | evp/m_md5.c |
432 | evp/m_md5_sha1.c | ||
432 | evp/m_null.c | 433 | evp/m_null.c |
433 | evp/m_ripemd.c | 434 | evp/m_ripemd.c |
434 | evp/m_sha1.c | 435 | evp/m_sha1.c |
@@ -736,8 +737,10 @@ endif() | |||
736 | 737 | ||
737 | if(NOT HAVE_ARC4RANDOM_BUF) | 738 | if(NOT HAVE_ARC4RANDOM_BUF) |
738 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random.c) | 739 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random.c) |
740 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c) | ||
739 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random) | 741 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random) |
740 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_buf) | 742 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_buf) |
743 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_uniform) | ||
741 | 744 | ||
742 | if(NOT HAVE_GETENTROPY) | 745 | if(NOT HAVE_GETENTROPY) |
743 | if(CMAKE_HOST_WIN32) | 746 | if(CMAKE_HOST_WIN32) |
@@ -761,11 +764,6 @@ if(NOT HAVE_ARC4RANDOM_BUF) | |||
761 | endif() | 764 | endif() |
762 | endif() | 765 | endif() |
763 | 766 | ||
764 | if(NOT HAVE_ARC4RANDOM_UNIFORM) | ||
765 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c) | ||
766 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_uniform) | ||
767 | endif() | ||
768 | |||
769 | if(NOT HAVE_TIMINGSAFE_BCMP) | 767 | if(NOT HAVE_TIMINGSAFE_BCMP) |
770 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) | 768 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) |
771 | set(EXTRA_EXPORT ${EXTRA_EXPORT} timingsafe_bcmp) | 769 | set(EXTRA_EXPORT ${EXTRA_EXPORT} timingsafe_bcmp) |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 26def2a..23aaeac 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
@@ -527,6 +527,7 @@ libcrypto_la_SOURCES += evp/m_gost2814789.c | |||
527 | libcrypto_la_SOURCES += evp/m_gostr341194.c | 527 | libcrypto_la_SOURCES += evp/m_gostr341194.c |
528 | libcrypto_la_SOURCES += evp/m_md4.c | 528 | libcrypto_la_SOURCES += evp/m_md4.c |
529 | libcrypto_la_SOURCES += evp/m_md5.c | 529 | libcrypto_la_SOURCES += evp/m_md5.c |
530 | libcrypto_la_SOURCES += evp/m_md5_sha1.c | ||
530 | libcrypto_la_SOURCES += evp/m_null.c | 531 | libcrypto_la_SOURCES += evp/m_null.c |
531 | libcrypto_la_SOURCES += evp/m_ripemd.c | 532 | libcrypto_la_SOURCES += evp/m_ripemd.c |
532 | libcrypto_la_SOURCES += evp/m_sha1.c | 533 | libcrypto_la_SOURCES += evp/m_sha1.c |
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index c66364e..53ffce6 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 | |||
@@ -152,14 +152,13 @@ echo "generating $crypto_p_sym ..." | |||
152 | chmod u+w $srcdir/crypto | 152 | chmod u+w $srcdir/crypto |
153 | cp $crypto_sym $crypto_p_sym | 153 | cp $crypto_sym $crypto_p_sym |
154 | chmod u+w $crypto_p_sym | 154 | chmod u+w $crypto_p_sym |
155 | if test "x$ac_cv_func_arc4random" = "xno" ; then | ||
156 | echo arc4random >> $crypto_p_sym | ||
157 | fi | ||
158 | if test "x$ac_cv_func_arc4random_buf" = "xno" ; then | 155 | if test "x$ac_cv_func_arc4random_buf" = "xno" ; then |
156 | echo arc4random >> $crypto_p_sym | ||
159 | echo arc4random_buf >> $crypto_p_sym | 157 | echo arc4random_buf >> $crypto_p_sym |
160 | fi | ||
161 | if test "x$ac_cv_func_arc4random_uniform" = "xno" ; then | ||
162 | echo arc4random_uniform >> $crypto_p_sym | 158 | echo arc4random_uniform >> $crypto_p_sym |
159 | if test "x$ac_cv_func_getentropy" = "xno" ; then | ||
160 | echo getentropy >> $crypto_p_sym | ||
161 | fi | ||
163 | fi | 162 | fi |
164 | if test "x$ac_cv_func_asprintf" = "xno" ; then | 163 | if test "x$ac_cv_func_asprintf" = "xno" ; then |
165 | echo asprintf >> $crypto_p_sym | 164 | echo asprintf >> $crypto_p_sym |
@@ -168,9 +167,6 @@ fi | |||
168 | if test "x$ac_cv_func_explicit_bzero" = "xno" ; then | 167 | if test "x$ac_cv_func_explicit_bzero" = "xno" ; then |
169 | echo explicit_bzero >> $crypto_p_sym | 168 | echo explicit_bzero >> $crypto_p_sym |
170 | fi | 169 | fi |
171 | if test "x$ac_cv_func_getentropy" = "xno" ; then | ||
172 | echo getentropy >> $crypto_p_sym | ||
173 | fi | ||
174 | if test "x$ac_cv_func_inet_pton" = "xno" ; then | 170 | if test "x$ac_cv_func_inet_pton" = "xno" ; then |
175 | echo inet_pton >> $crypto_p_sym | 171 | echo inet_pton >> $crypto_p_sym |
176 | fi | 172 | fi |
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index b555c9e..bc2fea4 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt | |||
@@ -39,6 +39,7 @@ set( | |||
39 | ssl_versions.c | 39 | ssl_versions.c |
40 | t1_clnt.c | 40 | t1_clnt.c |
41 | t1_enc.c | 41 | t1_enc.c |
42 | t1_hash.c | ||
42 | t1_lib.c | 43 | t1_lib.c |
43 | t1_meth.c | 44 | t1_meth.c |
44 | t1_reneg.c | 45 | t1_reneg.c |
diff --git a/ssl/Makefile.am b/ssl/Makefile.am index 4da6d58..3c348d3 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am | |||
@@ -42,6 +42,7 @@ libssl_la_SOURCES += ssl_txt.c | |||
42 | libssl_la_SOURCES += ssl_versions.c | 42 | libssl_la_SOURCES += ssl_versions.c |
43 | libssl_la_SOURCES += t1_clnt.c | 43 | libssl_la_SOURCES += t1_clnt.c |
44 | libssl_la_SOURCES += t1_enc.c | 44 | libssl_la_SOURCES += t1_enc.c |
45 | libssl_la_SOURCES += t1_hash.c | ||
45 | libssl_la_SOURCES += t1_lib.c | 46 | libssl_la_SOURCES += t1_lib.c |
46 | libssl_la_SOURCES += t1_meth.c | 47 | libssl_la_SOURCES += t1_meth.c |
47 | libssl_la_SOURCES += t1_reneg.c | 48 | libssl_la_SOURCES += t1_reneg.c |