mirror of https://gerrit.osmocom.org/libosmocore
gsup decode: fix expectation of AUTS length, should be 14
The wrong expectation caused OsmoHLR to fail on Auth Sync. Change-Id: I277fb3d407396dffa5c07a9c5454d87a415d393f
This commit is contained in:
parent
32ee5af893
commit
3a5ca647c5
|
@ -339,9 +339,9 @@ int osmo_gsup_decode(const uint8_t *const_data, size_t data_len,
|
|||
break;
|
||||
|
||||
case OSMO_GSUP_AUTS_IE:
|
||||
if (value_len != 16) {
|
||||
if (value_len != 14) {
|
||||
LOGP(DLGSUP, LOGL_ERROR,
|
||||
"AUTS length != 16 received\n");
|
||||
"AUTS length != 14 received\n");
|
||||
return -GMM_CAUSE_COND_IE_ERR;
|
||||
}
|
||||
gsup_msg->auts = value;
|
||||
|
|
Loading…
Reference in New Issue