hlr: Don't attempt to find AUTN in 2G-only tuple
In Change-Id I40c6cf7e28ad9331e6c27fe7acafa3f9e277eedf we introduced a patch that verifies the AMF separation bit for 3G/3G vs 4G authentication. However, the test ignored the fact that AUTN cannot be present in pure 2G tuples. This makes TC_gsup_sai pass again. Change-Id: I9b61e62a58b583461dd5e67dd12119be282cae21
This commit is contained in:
parent
0a1fd0e667
commit
4b61204e85
|
@ -711,7 +711,9 @@ function f_start_handler_per_sub(void_fn fn, HlrSubscriberList sl) runs on test_
|
|||
private function f_TC_gsup_sai() runs on HLR_ConnHdlr {
|
||||
var GSUP_PDU res;
|
||||
res := f_perform_SAI(g_pars.sub.imsi);
|
||||
f_ensure_amf_separation_bit(res, '0'B);
|
||||
if (ispresent(g_pars.sub.aud3g)) {
|
||||
f_ensure_amf_separation_bit(res, '0'B);
|
||||
}
|
||||
/* TODO: match if tuple[s] matches expectation */
|
||||
setverdict(pass);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue