From d023f75c55f1fc894095fb429a47e8506b502a0a Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 19 Jul 2023 03:04:03 +0200 Subject: [PATCH] gsup_protocol: auth_tuple: make rand, sres, kc optional With only 3G auth data present, there isn't any 2G auth data. --- include/gsup_protocol.hrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gsup_protocol.hrl b/include/gsup_protocol.hrl index 86c2785..ef2890a 100644 --- a/include/gsup_protocol.hrl +++ b/include/gsup_protocol.hrl @@ -228,8 +228,8 @@ 16#52 => #{message_type => epdg_tunnel_result, mandatory => [message_class], optional => []} }). --define(AUTH_TUPLE_MANDATORY, [rand, sres, kc]). --define(AUTH_TUPLE_OPTIONAL, [ik, ck, autn, res]). +-define(AUTH_TUPLE_MANDATORY, []). +-define(AUTH_TUPLE_OPTIONAL, [rand, sres, kc, ik, ck, autn, res]). -define(PDP_INFO_MANDATORY, []). -define(PDP_INFO_OPTIONAL, [pdp_context_id, pdp_type, access_point_name, quality_of_service, pdp_charging]).