aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crypto/CMakeLists.txt8
-rw-r--r--crypto/Makefile.am1
-rw-r--r--m4/check-libc.m412
-rw-r--r--ssl/CMakeLists.txt1
-rw-r--r--ssl/Makefile.am1
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
737if(NOT HAVE_ARC4RANDOM_BUF) 738if(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()
762endif() 765endif()
763 766
764if(NOT HAVE_ARC4RANDOM_UNIFORM)
765 set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c)
766 set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_uniform)
767endif()
768
769if(NOT HAVE_TIMINGSAFE_BCMP) 767if(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
527libcrypto_la_SOURCES += evp/m_gostr341194.c 527libcrypto_la_SOURCES += evp/m_gostr341194.c
528libcrypto_la_SOURCES += evp/m_md4.c 528libcrypto_la_SOURCES += evp/m_md4.c
529libcrypto_la_SOURCES += evp/m_md5.c 529libcrypto_la_SOURCES += evp/m_md5.c
530libcrypto_la_SOURCES += evp/m_md5_sha1.c
530libcrypto_la_SOURCES += evp/m_null.c 531libcrypto_la_SOURCES += evp/m_null.c
531libcrypto_la_SOURCES += evp/m_ripemd.c 532libcrypto_la_SOURCES += evp/m_ripemd.c
532libcrypto_la_SOURCES += evp/m_sha1.c 533libcrypto_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 ..."
152chmod u+w $srcdir/crypto 152chmod u+w $srcdir/crypto
153cp $crypto_sym $crypto_p_sym 153cp $crypto_sym $crypto_p_sym
154chmod u+w $crypto_p_sym 154chmod u+w $crypto_p_sym
155if test "x$ac_cv_func_arc4random" = "xno" ; then
156 echo arc4random >> $crypto_p_sym
157fi
158if test "x$ac_cv_func_arc4random_buf" = "xno" ; then 155if 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
160fi
161if 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
163fi 162fi
164if test "x$ac_cv_func_asprintf" = "xno" ; then 163if 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
168if test "x$ac_cv_func_explicit_bzero" = "xno" ; then 167if test "x$ac_cv_func_explicit_bzero" = "xno" ; then
169 echo explicit_bzero >> $crypto_p_sym 168 echo explicit_bzero >> $crypto_p_sym
170fi 169fi
171if test "x$ac_cv_func_getentropy" = "xno" ; then
172 echo getentropy >> $crypto_p_sym
173fi
174if test "x$ac_cv_func_inet_pton" = "xno" ; then 170if test "x$ac_cv_func_inet_pton" = "xno" ; then
175 echo inet_pton >> $crypto_p_sym 171 echo inet_pton >> $crypto_p_sym
176fi 172fi
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
42libssl_la_SOURCES += ssl_versions.c 42libssl_la_SOURCES += ssl_versions.c
43libssl_la_SOURCES += t1_clnt.c 43libssl_la_SOURCES += t1_clnt.c
44libssl_la_SOURCES += t1_enc.c 44libssl_la_SOURCES += t1_enc.c
45libssl_la_SOURCES += t1_hash.c
45libssl_la_SOURCES += t1_lib.c 46libssl_la_SOURCES += t1_lib.c
46libssl_la_SOURCES += t1_meth.c 47libssl_la_SOURCES += t1_meth.c
47libssl_la_SOURCES += t1_reneg.c 48libssl_la_SOURCES += t1_reneg.c