eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_tlv_header.cpp
--- a/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_tlv_header.cpp Tue Aug 31 15:16:37 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/src/simple_config_tlv_header.cpp Wed Sep 01 12:23:57 2010 +0100
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
@@ -11,12 +11,12 @@
*
* Contributors:
*
-* Description: defines header of Attribute-Value Pairs used in protected setup.
+* Description: EAP and WLAN authentication protocols.
*
*/
/*
-* %version: 11.1.2 %
+* %version: 13 %
*/
// This is enumeration of EAPOL source code.
@@ -125,7 +125,7 @@
{
EAP_UNREFERENCED_PARAMETER(m_am_tools);
- u32_t data_length = get_data_length();
+ u32_t data_length = get_data_length(); // Here is removed optional SIMPLE_CONFIG message length.
if (data_length >= offset+contignuous_bytes)
{
@@ -153,7 +153,7 @@
*/
u8_t * simple_config_tlv_header_c::get_data(const u32_t contignuous_bytes) const
{
- return get_data_offset(0ul, contignuous_bytes);
+ return get_data_offset(0u, contignuous_bytes);
}