2015-11-09 21:57:26 +00:00
|
|
|
include_directories(../include)
|
|
|
|
|
2017-07-14 20:54:42 +01:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-prototypes")
|
|
|
|
|
2017-10-03 18:14:18 +01:00
|
|
|
add_executable(
|
|
|
|
bn_mod_exp
|
|
|
|
|
|
|
|
bn_mod_exp.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(bn_mod_exp Fuzzer)
|
|
|
|
target_link_libraries(bn_mod_exp crypto)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
bn_div
|
|
|
|
|
|
|
|
bn_div.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(bn_div Fuzzer)
|
|
|
|
target_link_libraries(bn_div crypto)
|
|
|
|
|
2015-11-09 21:57:26 +00:00
|
|
|
add_executable(
|
|
|
|
privkey
|
|
|
|
|
|
|
|
privkey.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(privkey Fuzzer)
|
|
|
|
target_link_libraries(privkey crypto)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
cert
|
|
|
|
|
|
|
|
cert.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(cert Fuzzer)
|
|
|
|
target_link_libraries(cert crypto)
|
|
|
|
|
2016-04-22 05:43:20 +01:00
|
|
|
add_executable(
|
|
|
|
spki
|
|
|
|
|
|
|
|
spki.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(spki Fuzzer)
|
|
|
|
target_link_libraries(spki crypto)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
pkcs8
|
|
|
|
|
|
|
|
pkcs8.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(pkcs8 Fuzzer)
|
|
|
|
target_link_libraries(pkcs8 crypto)
|
|
|
|
|
2015-11-09 21:57:26 +00:00
|
|
|
add_executable(
|
|
|
|
server
|
|
|
|
|
|
|
|
server.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(server Fuzzer)
|
|
|
|
target_link_libraries(server crypto)
|
|
|
|
target_link_libraries(server ssl)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
client
|
|
|
|
|
|
|
|
client.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(client Fuzzer)
|
|
|
|
target_link_libraries(client crypto)
|
|
|
|
target_link_libraries(client ssl)
|
2016-05-20 18:51:48 +01:00
|
|
|
|
2017-09-06 23:41:25 +01:00
|
|
|
add_executable(
|
|
|
|
dtls_server
|
|
|
|
|
|
|
|
dtls_server.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(dtls_server Fuzzer)
|
|
|
|
target_link_libraries(dtls_server crypto)
|
|
|
|
target_link_libraries(dtls_server ssl)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
dtls_client
|
|
|
|
|
|
|
|
dtls_client.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(dtls_client Fuzzer)
|
|
|
|
target_link_libraries(dtls_client crypto)
|
|
|
|
target_link_libraries(dtls_client ssl)
|
|
|
|
|
2016-05-20 18:51:48 +01:00
|
|
|
add_executable(
|
|
|
|
read_pem
|
|
|
|
|
|
|
|
read_pem.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(read_pem Fuzzer)
|
|
|
|
target_link_libraries(read_pem crypto)
|
2016-10-02 18:03:36 +01:00
|
|
|
|
|
|
|
add_executable(
|
|
|
|
ssl_ctx_api
|
|
|
|
|
|
|
|
ssl_ctx_api.cc
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(ssl_ctx_api Fuzzer)
|
|
|
|
target_link_libraries(ssl_ctx_api crypto)
|
|
|
|
target_link_libraries(ssl_ctx_api ssl)
|
2016-11-29 18:52:24 +00:00
|
|
|
|
|
|
|
add_executable(
|
|
|
|
session
|
|
|
|
|
|
|
|
session.cc
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(session Fuzzer)
|
|
|
|
target_link_libraries(session crypto)
|
|
|
|
target_link_libraries(session ssl)
|