X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=2ea95746bb4186d3decf2afe296b3a00cc8d60e4;hb=7ed64cd58e3f90e7a7229b0a504816e54f9444dc;hp=f019f145889ecec3cf78289bcd1f864cf4522778;hpb=419263293a3075c630d028b94378107714ab6fa6;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f019f14..2ea9574 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,6 +135,11 @@ set(GOST_ENGINE_SOURCE_FILES gost_omac_acpkm.c ) +add_executable(test_digest test_digest.c) +target_link_libraries(test_digest gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME digest + COMMAND test_digest) + add_executable(test_curves test_curves.c) target_link_libraries(test_curves gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) add_test(NAME curves @@ -189,6 +194,7 @@ target_link_libraries(sign gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY} ${CLO # All that may need to load just built engine will have path to it defined. set(BINARY_TESTS_TARGETS + test_digest test_curves test_params test_sign