From: Richard Levitte Date: Mon, 26 Jun 2017 07:50:29 +0000 (+0200) Subject: Rename the GOST engine X-Git-Tag: v1.1.0.2~11^2 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;ds=sidebyside;h=83cbbc5b7cd9fce68ea96dea2d4c525e2292d06e;p=openssl-gost%2Fengine.git Rename the GOST engine The GOST engine file was "libgost_engine.so". Unfortunately, this will fail to load with any OpenSSL version, as the derived engine ID will be "gost_engine" (OpenSSL <1.1.0) or "libgost_engine" (OpenSSL >=1.1.0), since the engine checks the ID internally against "gost". To make the IDs compatible, make sure the file name will be "gost.so" --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 285bc2f..4ee778f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,7 @@ add_library(gost STATIC ${GOST_LIB_SOURCE_FILES}) set_target_properties(gost PROPERTIES POSITION_INDEPENDENT_CODE ON) add_library(gost_engine MODULE ${GOST_ENGINE_SOURCE_FILES}) +set_target_properties(gost_engine PROPERTIES PREFIX "" OUTPUT_NAME "gost") target_link_libraries(gost_engine crypto gost)