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
This commit is contained in:
kinichiro
2016-04-07 15:08:12 +09:00
committed by Brent Cook
parent 9a98de6c34
commit 2510a5e6f9
8 changed files with 149 additions and 81 deletions

View File

@@ -631,6 +631,10 @@ if(NOT HAVE_ARC4RANDOM_BUF)
endif()
endif()
if(NOT HAVE_ARC4RANDOM_UNIFORM)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/arc4random_uniform.c)
endif()
if(NOT HAVE_TIMINGSAFE_BCMP)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/timingsafe_bcmp.c)
endif()