diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-05 11:34:07 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-06 11:59:26 +0800 |
commit | 89f06051a5c89bcd81b1375f60bb9d1cb049c0de (patch) | |
tree | a09427ce6340373f8192ab737b76b8aa5882fbbe /NetworkPkg/TlsDxe/TlsProtocol.c | |
parent | 42b85551615d62fb68f0dbd63c068445c4d3c511 (diff) | |
download | edk2-89f06051a5c89bcd81b1375f60bb9d1cb049c0de.zip edk2-89f06051a5c89bcd81b1375f60bb9d1cb049c0de.tar.gz edk2-89f06051a5c89bcd81b1375f60bb9d1cb049c0de.tar.bz2 |
MdePkg, NetworkPkg: Refine the coding style.
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Liming Gao <liming.gao@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 'NetworkPkg/TlsDxe/TlsProtocol.c')
-rw-r--r-- | NetworkPkg/TlsDxe/TlsProtocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NetworkPkg/TlsDxe/TlsProtocol.c b/NetworkPkg/TlsDxe/TlsProtocol.c index ee1c496..58a83c3 100644 --- a/NetworkPkg/TlsDxe/TlsProtocol.c +++ b/NetworkPkg/TlsDxe/TlsProtocol.c @@ -1,7 +1,7 @@ /** @file Implementation of EFI TLS Protocol Interfaces. - Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> + Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -523,7 +523,7 @@ TlsBuildResponsePacket ( // // Must be alert message, Decrypt it and build the ResponsePacket. // - ASSERT (((TLS_RECORD_HEADER *) RequestBuffer)->ContentType == TLS_CONTENT_TYPE_ALERT); + ASSERT (((TLS_RECORD_HEADER *) RequestBuffer)->ContentType == TlsContentTypeAlert); Status = TlsHandleAlert ( Instance->TlsConn, |