boringssl/crypto/dsa/CMakeLists.txt
David Benjamin e8f783ac0d Unwind DH_METHOD and DSA_METHOD.
This will allow a static linker (with -ffunction-sections since things aren't
split into files) to drop unused parts of DH and DSA. Notably, the parameter
generation bits pull in primality-checking code.

Change-Id: I25087e4cb91bc9d0ab43bcb267c2e2c164e56b59
Reviewed-on: https://boringssl-review.googlesource.com/6388
Reviewed-by: Adam Langley <agl@google.com>
2015-11-03 22:54:36 +00:00

22 lines
244 B
CMake

include_directories(../../include)
add_library(
dsa
OBJECT
dsa.c
dsa_asn1.c
)
add_executable(
dsa_test
dsa_test.c
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(dsa_test crypto)
add_dependencies(all_tests dsa_test)