From b15ee865d68a0c719df1908321a65569a401e7e0 Mon Sep 17 00:00:00 2001 From: Collin Date: Tue, 29 Jun 2021 14:44:47 -0400 Subject: Fix/remove hmi ptu decryption flag (#3728) * remove references to ENABLE_HMI_PTU_DECRYPTION and USE_HMI_PTU_DECRYPTION * merge policy manager parse and parsearray methods * remove references from CMakeLists.txt --- CMakeLists.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 07e5bd5b56..e638310f88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,6 @@ option(ENABLE_LOG "Logging feature" ON) option(ENABLE_GCOV "gcov code coverage feature" OFF) option(ENABLE_SANITIZE "Sanitize tool" OFF) option(ENABLE_SECURITY "Security Ford protocol protection" ON) -option(ENABLE_HMI_PTU_DECRYPTION "Policy table update parsed by hmi" ON) option(ENABLE_IAP2EMULATION "IAP2 emulation via tcp" OFF) option(USE_COTIRE "Use Cotire to speed up build (currently only for commands tests)" ON) option(USE_GOLD_LD "Use gold linker intead of GNU linker" ON) @@ -216,12 +215,6 @@ get_property(cValue CACHE HMI PROPERTY VALUE) file(APPEND "${build_config_path}" "//${cHelpString}\n") file(APPEND "${build_config_path}" "HMI:${cType}=${cValue}\n\n") -get_property(cHelpString CACHE ENABLE_HMI_PTU_DECRYPTION PROPERTY HELPSTRING) -get_property(cType CACHE ENABLE_HMI_PTU_DECRYPTION PROPERTY TYPE) -get_property(cValue CACHE ENABLE_HMI_PTU_DECRYPTION PROPERTY VALUE) -file(APPEND "${build_config_path}" "//${cHelpString}\n") -file(APPEND "${build_config_path}" "ENABLE_HMI_PTU_DECRYPTION:${cType}=${cValue}\n") - get_property(cHelpString CACHE BUILD_WEBSOCKET_SERVER_SUPPORT PROPERTY HELPSTRING) get_property(cType CACHE BUILD_WEBSOCKET_SERVER_SUPPORT PROPERTY TYPE) get_property(cValue CACHE BUILD_WEBSOCKET_SERVER_SUPPORT PROPERTY VALUE) @@ -457,11 +450,6 @@ if(ENABLE_SECURITY) message(STATUS "Security enabled") endif() -if(ENABLE_HMI_PTU_DECRYPTION) - add_definitions(-DUSE_HMI_PTU_DECRYPTION) - message(STATUS "HMI PTU decription enabled") -endif() - if(ENABLE_IAP2EMULATION) add_definitions(-DENABLE_IAP2EMULATION) message(STATUS "IAP2 emulation enabled") -- cgit v1.2.1