mirror of
https://github.com/nextepc/nextepc-oss.git
synced 2025-10-23 04:52:17 +00:00
Fix typo and remove trailing whitespaces in nas-security
This commit is contained in:
@@ -53,7 +53,7 @@ ogs_pkbuf_t *nas_5gs_security_encode(
|
||||
ciphered = 1;
|
||||
break;
|
||||
default:
|
||||
ogs_error("Not implemented(securiry header type:0x%x)",
|
||||
ogs_error("Not implemented(security header type:0x%x)",
|
||||
message->h.security_header_type);
|
||||
return NULL;
|
||||
}
|
||||
@@ -115,7 +115,7 @@ ogs_pkbuf_t *nas_5gs_security_encode(
|
||||
return new;
|
||||
}
|
||||
|
||||
int nas_5gs_security_decode(amf_ue_t *amf_ue,
|
||||
int nas_5gs_security_decode(amf_ue_t *amf_ue,
|
||||
ogs_nas_security_header_type_t security_header_type, ogs_pkbuf_t *pkbuf)
|
||||
{
|
||||
ogs_assert(amf_ue);
|
||||
@@ -137,7 +137,7 @@ int nas_5gs_security_decode(amf_ue_t *amf_ue,
|
||||
if (amf_ue->selected_int_algorithm == 0)
|
||||
security_header_type.integrity_protected = 0;
|
||||
|
||||
if (security_header_type.ciphered ||
|
||||
if (security_header_type.ciphered ||
|
||||
security_header_type.integrity_protected) {
|
||||
ogs_nas_5gs_security_header_t *h = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user