mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
89f06051a5
commit
9fba84ac6e
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
SSL/TLS Configuration Library Wrapper Implementation over OpenSSL.
|
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>
|
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -422,7 +422,7 @@ TlsSetCaCertificate (
|
||||||
TLS_CONNECTION *TlsConn;
|
TLS_CONNECTION *TlsConn;
|
||||||
SSL_CTX *SslCtx;
|
SSL_CTX *SslCtx;
|
||||||
INTN Ret;
|
INTN Ret;
|
||||||
unsigned long ErrorCode;
|
UINTN ErrorCode;
|
||||||
|
|
||||||
BioCert = NULL;
|
BioCert = NULL;
|
||||||
Cert = NULL;
|
Cert = NULL;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
SSL/TLS Process Library Wrapper Implementation over OpenSSL.
|
SSL/TLS Process Library Wrapper Implementation over OpenSSL.
|
||||||
The process includes the TLS handshake and packet I/O.
|
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>
|
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -87,7 +87,7 @@ TlsDoHandshake (
|
||||||
TLS_CONNECTION *TlsConn;
|
TLS_CONNECTION *TlsConn;
|
||||||
UINTN PendingBufferSize;
|
UINTN PendingBufferSize;
|
||||||
INTN Ret;
|
INTN Ret;
|
||||||
unsigned long ErrorCode;
|
UINTN ErrorCode;
|
||||||
|
|
||||||
TlsConn = (TLS_CONNECTION *) Tls;
|
TlsConn = (TLS_CONNECTION *) Tls;
|
||||||
PendingBufferSize = 0;
|
PendingBufferSize = 0;
|
||||||
|
|
Loading…
Reference in New Issue