From 47759287dcc992674488d8db30db5da62c9ed707 Mon Sep 17 00:00:00 2001 From: winckel Date: Tue, 21 Jan 2014 08:54:35 +0000 Subject: [PATCH] Corrected definition of minimum length of some NAS field (some optionnal fields were take into account in the previous values). git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4911 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/NAS/EURECOM-NAS/src/ies/NasSecurityAlgorithms.h | 2 +- openair-cn/NAS/EURECOM-NAS/src/ies/UeSecurityCapability.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openair-cn/NAS/EURECOM-NAS/src/ies/NasSecurityAlgorithms.h b/openair-cn/NAS/EURECOM-NAS/src/ies/NasSecurityAlgorithms.h index 2dfb237a92..2e3723a0e7 100644 --- a/openair-cn/NAS/EURECOM-NAS/src/ies/NasSecurityAlgorithms.h +++ b/openair-cn/NAS/EURECOM-NAS/src/ies/NasSecurityAlgorithms.h @@ -7,7 +7,7 @@ #ifndef NAS_SECURITY_ALGORITHMS_H_ #define NAS_SECURITY_ALGORITHMS_H_ -#define NAS_SECURITY_ALGORITHMS_MINIMUM_LENGTH 2 +#define NAS_SECURITY_ALGORITHMS_MINIMUM_LENGTH 1 #define NAS_SECURITY_ALGORITHMS_MAXIMUM_LENGTH 2 typedef struct NasSecurityAlgorithms_tag { diff --git a/openair-cn/NAS/EURECOM-NAS/src/ies/UeSecurityCapability.h b/openair-cn/NAS/EURECOM-NAS/src/ies/UeSecurityCapability.h index 5ef6c4351b..eeb1d2b93d 100644 --- a/openair-cn/NAS/EURECOM-NAS/src/ies/UeSecurityCapability.h +++ b/openair-cn/NAS/EURECOM-NAS/src/ies/UeSecurityCapability.h @@ -7,7 +7,7 @@ #ifndef UE_SECURITY_CAPABILITY_H_ #define UE_SECURITY_CAPABILITY_H_ -#define UE_SECURITY_CAPABILITY_MINIMUM_LENGTH 4 +#define UE_SECURITY_CAPABILITY_MINIMUM_LENGTH 2 #define UE_SECURITY_CAPABILITY_MAXIMUM_LENGTH 7 typedef struct UeSecurityCapability_tag {