From 2ffd7dabe3d9f191c8933d89dcc62db1bee75200 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Fri, 8 May 2020 20:24:31 +0300 Subject: [PATCH] test_ciphers: Rename test_grasshopper to test_ciphers Better name to add more ciphers to test. Also, move it up in the tests just after digests. --- CMakeLists.txt | 12 ++++++------ test_grasshopper.c => test_ciphers.c | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename test_grasshopper.c => test_ciphers.c (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index f55c831..cee4535 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,6 +168,11 @@ target_link_libraries(test_digest gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY add_test(NAME digest COMMAND test_digest) +add_executable(test_ciphers test_ciphers.c) +target_link_libraries(test_ciphers gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) +add_test(NAME ciphers + COMMAND test_ciphers) + add_executable(test_curves test_curves.c) target_link_libraries(test_curves gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) add_test(NAME curves @@ -193,11 +198,6 @@ target_link_libraries(test_context gost_engine gost_core ${OPENSSL_CRYPTO_LIBRAR 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 - COMMAND test_grasshopper) - add_executable(test_keyexpimp test_keyexpimp.c) #target_compile_definitions(test_keyexpimp PUBLIC -DOPENSSL_LOAD_CONF) target_link_libraries(test_keyexpimp gost_engine gost_core ${OPENSSL_CRYPTO_LIBRARY}) @@ -229,11 +229,11 @@ 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_ciphers test_curves test_params test_sign test_context - test_grasshopper test_keyexpimp test_gost89 test_tls diff --git a/test_grasshopper.c b/test_ciphers.c similarity index 100% rename from test_grasshopper.c rename to test_ciphers.c -- 2.39.2