X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=0add5fdc506eee758dc05c639cbe1ce7c0d2d828;hb=eb01b80247de3fa3848d58d7f2816aff8f396630;hp=bed388af378a0b62cf876de55f51a2cde97c7fd2;hpb=300c5372b29a3752256af69ee8f642970186b099;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index bed388a..0add5fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,8 +68,6 @@ set(GOST_GRASSHOPPER_SOURCE_FILES gost_grasshopper_precompiled.c gost_grasshopper_cipher.h gost_grasshopper_cipher.c - gost_grasshopper_mac.h - gost_grasshopper_mac.c ) set(GOST_CORE_SOURCE_FILES @@ -82,6 +80,7 @@ set(GOST_CORE_SOURCE_FILES gost_keywrap.c gost_keywrap.h gost_lcl.h + compat.h gost_params.c ) @@ -117,6 +116,10 @@ target_link_libraries(test_grasshopper gost_engine gost_core ${OPENSSL_CRYPTO_LI add_test(NAME grasshopper COMMAND test_grasshopper) +add_test(NAME engine + COMMAND perl run_tests + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) + add_library(gost_core STATIC ${GOST_LIB_SOURCE_FILES}) set_target_properties(gost_core PROPERTIES POSITION_INDEPENDENT_CODE ON)