X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=774a1a7c2ae225b5ff4e878908f84c38f3306848;hb=f2d6039b1b8c501d989c35adf42095186de4f999;hp=32c7cf34d319d82b9aaa4aee3f168c1930562788;hpb=d8427b79e16a5c72edba109cff803e733fb1bf88;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 32c7cf3..774a1a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,16 @@ set(GOST_ENGINE_SOURCE_FILES gost_omac_acpkm.c ) +add_executable(test_curves test_curves.c) +target_link_libraries(test_curves gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME curves + COMMAND test_curves) + +add_executable(test_context test_context.c) +target_link_libraries(test_context gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME context + COMMAND test_context) + add_executable(test_grasshopper test_grasshopper.c) target_link_libraries(test_grasshopper gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) add_test(NAME grasshopper @@ -146,7 +156,7 @@ target_link_libraries(gost12sum gost_core) add_executable(unit_expimp gost_keyexpimp.c e_gost_err.c) target_compile_definitions(unit_expimp PUBLIC -DENABLE_UNIT_TESTS) target_compile_definitions(unit_expimp PUBLIC -DOPENSSL_LOAD_CONF) -target_link_libraries(unit_expimp PUBLIC crypto) +target_link_libraries(unit_expimp PUBLIC ${OPENSSL_CRYPTO_LIBRARY}) set_source_files_properties(tags PROPERTIES GENERATED true) add_custom_target(tags