X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=9cd784d0dfb46b7322d60b161ed894d55b060599;hb=ff4079d54b1213d5e0d41da3c912c3c700bb644c;hp=0add5fdc506eee758dc05c639cbe1ce7c0d2d828;hpb=eb01b80247de3fa3848d58d7f2816aff8f396630;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 0add5fd..9cd784d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ include(GNUInstallDirs) enable_testing() -find_package(OpenSSL 1.0.2 REQUIRED) +find_package(OpenSSL 1.1.1 REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) if (CMAKE_C_COMPILER_ID MATCHES "Clang") @@ -80,7 +80,6 @@ set(GOST_CORE_SOURCE_FILES gost_keywrap.c gost_keywrap.h gost_lcl.h - compat.h gost_params.c ) @@ -91,6 +90,7 @@ set(GOST_EC_SOURCE_FILES set (GOST_OMAC_SOURCE_FILES gost_omac.c + gost_omac_acpkm.c ) set(GOST_LIB_SOURCE_FILES @@ -109,6 +109,7 @@ set(GOST_ENGINE_SOURCE_FILES gost_md2012.c gost_pmeth.c gost_omac.c + gost_omac_acpkm.c ) add_executable(test_grasshopper test_grasshopper.c) @@ -124,7 +125,7 @@ add_library(gost_core STATIC ${GOST_LIB_SOURCE_FILES}) set_target_properties(gost_core PROPERTIES POSITION_INDEPENDENT_CODE ON) add_library(gost_engine MODULE ${GOST_ENGINE_SOURCE_FILES}) -set_target_properties(gost_engine PROPERTIES PREFIX "" OUTPUT_NAME "libgost") +set_target_properties(gost_engine PROPERTIES PREFIX "" OUTPUT_NAME "gost") target_link_libraries(gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) set(GOST_SUM_SOURCE_FILES