diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-04-07 15:08:12 +0900 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2016-04-09 12:06:40 -0500 |
commit | 2510a5e6f98360bb7cd4a52ecf2274656fe75dcc (patch) | |
tree | 4ae888795d7c741f0c01eed81c8581d33b39cd07 /crypto | |
parent | 9a98de6c34d9fbb97f2619617c102691d6065a81 (diff) | |
download | portable-2510a5e6f98360bb7cd4a52ecf2274656fe75dcc.tar.gz portable-2510a5e6f98360bb7cd4a52ecf2274656fe75dcc.tar.bz2 portable-2510a5e6f98360bb7cd4a52ecf2274656fe75dcc.zip |
modify cmake to build nc
- modify structure of CMakeLists.txt under apps/
* move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build
* create new apps/nc/CMakeLists.txt for nc build
* modify apps/CMakeLists.txt just add_subdirectory()
- add checking and compile of arc4random_uniform()
- add installing man files, openssl.1 and nc.1
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 904e69f..24c6821 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -631,6 +631,10 @@ if(NOT HAVE_ARC4RANDOM_BUF) | |||
631 | endif() | 631 | endif() |
632 | endif() | 632 | endif() |
633 | 633 | ||
634 | if(NOT HAVE_ARC4RANDOM_UNIFORM) | ||
635 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c) | ||
636 | endif() | ||
637 | |||
634 | if(NOT HAVE_TIMINGSAFE_BCMP) | 638 | if(NOT HAVE_TIMINGSAFE_BCMP) |
635 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) | 639 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) |
636 | endif() | 640 | endif() |