From 72c5b381e41fbf2a5f58a4122637a5bd2d30f7b6 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 10 Feb 2020 21:57:58 +0100 Subject: [PATCH] fix bug when parsing cipher algo config for SS --- srsue/test/ttcn3/hdr/ttcn3_sys_interface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsue/test/ttcn3/hdr/ttcn3_sys_interface.h b/srsue/test/ttcn3/hdr/ttcn3_sys_interface.h index b8f71d28e..43f8f23ba 100644 --- a/srsue/test/ttcn3/hdr/ttcn3_sys_interface.h +++ b/srsue/test/ttcn3/hdr/ttcn3_sys_interface.h @@ -447,9 +447,9 @@ private: std::string cipher_algo_string = as_sec["StartRestart"]["Ciphering"]["Algorithm"].GetString(); if (cipher_algo_string == "eea0") { cipher_algo = srslte::CIPHERING_ALGORITHM_ID_EEA0; - } else if (int_algo_string == "eea1") { + } else if (cipher_algo_string == "eea1") { cipher_algo = srslte::CIPHERING_ALGORITHM_ID_128_EEA1; - } else if (int_algo_string == "eea2") { + } else if (cipher_algo_string == "eea2") { cipher_algo = srslte::CIPHERING_ALGORITHM_ID_128_EEA2; } else { log->error("Unsupported ciphering algorithm %s\n", cipher_algo_string.c_str());