Fix typo and remove trailing whitespaces in nas-security

This commit is contained in:
theodorsm
2023-09-01 23:14:19 +02:00
committed by Sukchan Lee
parent 902a348f1d
commit d5eff9e24a

View File

@@ -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;