diff options
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 41dc37b..6388cb0 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
| @@ -736,8 +736,10 @@ endif() | |||
| 736 | 736 | ||
| 737 | if(NOT HAVE_ARC4RANDOM_BUF) | 737 | if(NOT HAVE_ARC4RANDOM_BUF) |
| 738 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random.c) | 738 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random.c) |
| 739 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c) | ||
| 739 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random) | 740 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random) |
| 740 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_buf) | 741 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_buf) |
| 742 | set(EXTRA_EXPORT ${EXTRA_EXPORT} arc4random_uniform) | ||
| 741 | 743 | ||
| 742 | if(NOT HAVE_GETENTROPY) | 744 | if(NOT HAVE_GETENTROPY) |
| 743 | if(CMAKE_HOST_WIN32) | 745 | if(CMAKE_HOST_WIN32) |
| @@ -761,11 +763,6 @@ if(NOT HAVE_ARC4RANDOM_BUF) | |||
| 761 | endif() | 763 | endif() |
| 762 | endif() | 764 | endif() |
| 763 | 765 | ||
| 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) | 766 | if(NOT HAVE_TIMINGSAFE_BCMP) |
| 770 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) | 767 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) |
| 771 | set(EXTRA_EXPORT ${EXTRA_EXPORT} timingsafe_bcmp) | 768 | set(EXTRA_EXPORT ${EXTRA_EXPORT} timingsafe_bcmp) |
