diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-05 11:37:06 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-06 11:59:43 +0800 |
commit | 9fba84ac6ef01a0debf0cb823dd9eedb491bf1de (patch) | |
tree | e9e7195dec3ca11d7fa27dd7a22e67e4eab4bbda /CryptoPkg/Library | |
parent | 89f06051a5c89bcd81b1375f60bb9d1cb049c0de (diff) | |
download | edk2-9fba84ac6ef01a0debf0cb823dd9eedb491bf1de.zip edk2-9fba84ac6ef01a0debf0cb823dd9eedb491bf1de.tar.gz edk2-9fba84ac6ef01a0debf0cb823dd9eedb491bf1de.tar.bz2 |
CryptoPkg/TlsLib: Refine the coding style.
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Long Qin <qin.long@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'CryptoPkg/Library')
-rw-r--r-- | CryptoPkg/Library/TlsLib/TlsConfig.c | 4 | ||||
-rw-r--r-- | 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,7 +1,7 @@ /** @file SSL/TLS Configuration Library Wrapper Implementation over OpenSSL. -Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> +Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -422,7 +422,7 @@ TlsSetCaCertificate ( TLS_CONNECTION *TlsConn; SSL_CTX *SslCtx; INTN Ret; - unsigned long ErrorCode; + UINTN ErrorCode; BioCert = NULL; Cert = NULL; 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 @@ -2,7 +2,7 @@ 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.<BR> +Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -87,7 +87,7 @@ TlsDoHandshake ( TLS_CONNECTION *TlsConn; UINTN PendingBufferSize; INTN Ret; - unsigned long ErrorCode; + UINTN ErrorCode; TlsConn = (TLS_CONNECTION *) Tls; PendingBufferSize = 0; |