From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 456478197A for ; Wed, 4 Jan 2017 19:51:42 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP; 04 Jan 2017 19:51:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,319,1477983600"; d="scan'208";a="1090088517" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.99]) by fmsmga001.fm.intel.com with ESMTP; 04 Jan 2017 19:51:40 -0800 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Ye Ting , Fu Siyuan , Long Qin , Wu Jiaxin Date: Thu, 5 Jan 2017 11:51:35 +0800 Message-Id: <1483588295-194860-3-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1483588295-194860-1-git-send-email-jiaxin.wu@intel.com> References: <1483588295-194860-1-git-send-email-jiaxin.wu@intel.com> Subject: [Patch 2/2] CryptoPkg/TlsLib: Refine the coding style. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 03:51:42 -0000 Cc: Ye Ting Cc: Fu Siyuan Cc: Long Qin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- CryptoPkg/Library/TlsLib/TlsConfig.c | 4 ++-- CryptoPkg/Library/TlsLib/TlsProcess.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CryptoPkg/Library/TlsLib/TlsConfig.c b/CryptoPkg/Library/TlsLib/TlsConfig.c index c2bec6c..f103da4 100644 --- a/CryptoPkg/Library/TlsLib/TlsConfig.c +++ b/CryptoPkg/Library/TlsLib/TlsConfig.c @@ -1,9 +1,9 @@ /** @file SSL/TLS Configuration Library Wrapper Implementation over OpenSSL. -Copyright (c) 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -420,11 +420,11 @@ TlsSetCaCertificate ( X509_STORE *X509Store; EFI_STATUS Status; TLS_CONNECTION *TlsConn; SSL_CTX *SslCtx; INTN Ret; - unsigned long ErrorCode; + UINTN ErrorCode; BioCert = NULL; Cert = NULL; X509Store = NULL; Status = EFI_SUCCESS; diff --git a/CryptoPkg/Library/TlsLib/TlsProcess.c b/CryptoPkg/Library/TlsLib/TlsProcess.c index e47a46f..8532dab 100644 --- a/CryptoPkg/Library/TlsLib/TlsProcess.c +++ b/CryptoPkg/Library/TlsLib/TlsProcess.c @@ -1,10 +1,10 @@ /** @file SSL/TLS Process Library Wrapper Implementation over OpenSSL. The process includes the TLS handshake and packet I/O. -Copyright (c) 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -85,11 +85,11 @@ TlsDoHandshake ( ) { TLS_CONNECTION *TlsConn; UINTN PendingBufferSize; INTN Ret; - unsigned long ErrorCode; + UINTN ErrorCode; TlsConn = (TLS_CONNECTION *) Tls; PendingBufferSize = 0; Ret = 1; -- 1.9.5.msysgit.1