]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
MSVC: Undo adding `-Wno-error=deprecated-declarations`
authorVitaly Chikunov <vt@altlinux.org>
Fri, 3 Dec 2021 08:54:40 +0000 (11:54 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sat, 11 Dec 2021 16:45:14 +0000 (19:45 +0300)
Since they are now global. Error message:

  cl : command line error D8021: invalid numeric argument '/Wno-error=deprecated-declarations'

Fixes: 5dfb598 ("CMakeLists.txt: Workaround openssl deprecation of HMAC and CMAC primitives")
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
CMakeLists.txt

index a729a2041c42d894dd658246345eed2061f62a69..26161961fb113093f9c2288e1ad44c853d1bcf72 100644 (file)
@@ -43,11 +43,6 @@ if (ASAN)
   set(SKIP_PERL_TESTS 1)
 endif()
 
-# DEPRECATEDIN_3_0 CMAC
-set_source_files_properties(gost_omac.c PROPERTIES COMPILE_FLAGS -Wno-error=deprecated-declarations)
-# DEPRECATEDIN_3_0 HMAC
-set_source_files_properties(gost_keyexpimp.c PROPERTIES COMPILE_FLAGS -Wno-error=deprecated-declarations)
-
 set(CMAKE_C_STANDARD 90)
 CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME_C)
 CHECK_LIBRARY_EXISTS(rt clock_gettime "" HAVE_CLOCK_GETTIME_RT)