ranap_msg_factory: Fix LOGP statements
The related compiler warnings were overlooked as due to the asn1c-generated code there always are tons of warnings printed compiling this project :( Change-Id: I40b1265ba696501cc72e674f3ef4146c47aacf1b
This commit is contained in:
parent
e3f707b8c6
commit
e8299eb745
|
@ -232,7 +232,7 @@ struct msgb *ranap_new_msg_sec_mod_cmd2(const uint8_t *ik, const uint8_t *ck, en
|
||||||
ialg = RANAP_IntegrityProtectionAlgorithm_standard_UMTS_integrity_algorithm_UIA2;
|
ialg = RANAP_IntegrityProtectionAlgorithm_standard_UMTS_integrity_algorithm_UIA2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOGP(DRANAP, "Unsupported UIA algorithm UIA%d specified\n", i);
|
LOGP(DRANAP, LOGL_ERROR, "Unsupported UIA algorithm UIA%d specified\n", i);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -259,7 +259,7 @@ struct msgb *ranap_new_msg_sec_mod_cmd2(const uint8_t *ik, const uint8_t *ck, en
|
||||||
ealg = RANAP_EncryptionAlgorithm_standard_UMTS_encryption_algorithm_UEA2;
|
ealg = RANAP_EncryptionAlgorithm_standard_UMTS_encryption_algorithm_UEA2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOGP(DRANAP, "Unsupported UEA algorithm UEA%d specified\n", i);
|
LOGP(DRANAP, LOGL_ERROR, "Unsupported UEA algorithm UEA%d specified\n", i);
|
||||||
asn_set_empty(&ies.integrityProtectionInformation.permittedAlgorithms);
|
asn_set_empty(&ies.integrityProtectionInformation.permittedAlgorithms);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue