aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2016-04-07 15:08:12 +0900
committerBrent Cook <bcook@openbsd.org>2016-04-09 12:06:40 -0500
commit2510a5e6f98360bb7cd4a52ecf2274656fe75dcc (patch)
tree4ae888795d7c741f0c01eed81c8581d33b39cd07 /crypto
parent9a98de6c34d9fbb97f2619617c102691d6065a81 (diff)
downloadportable-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.txt4
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()
632endif() 632endif()
633 633
634if(NOT HAVE_ARC4RANDOM_UNIFORM)
635 set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c)
636endif()
637
634if(NOT HAVE_TIMINGSAFE_BCMP) 638if(NOT HAVE_TIMINGSAFE_BCMP)
635 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c) 639 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c)
636endif() 640endif()