From 3ebf4792de197cf785d41d68f67c4351b7c56b23 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 10 Oct 2018 16:01:51 +0200 Subject: [PATCH] fix missing length reset in NAS test --- srsue/test/upper/nas_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/test/upper/nas_test.cc b/srsue/test/upper/nas_test.cc index 101d403fc..eec65c7f9 100644 --- a/srsue/test/upper/nas_test.cc +++ b/srsue/test/upper/nas_test.cc @@ -175,6 +175,7 @@ int security_command_test() nas.write_pdu(LCID, tmp); // TODO: add check for authentication response + rrc_dummy.reset(); // reuse buffer for security mode command memcpy(tmp->msg, sec_mode_command_pdu, sizeof(sec_mode_command_pdu));