From: "Wu, Jiaxin" <jiaxin.wu@intel.com>
To: Thomas Palmer <thomas.palmer@hpe.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH 2/2] [edk2-staging/HTTPS-TLS][PATCH]: NetworkPkg/HttpDxe: Unrestrict TLSv
Date: Wed, 7 Sep 2016 08:23:40 +0000 [thread overview]
Message-ID: <895558F6EA4E3B41AC93A00D163B7274137FABC5@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1472238525-40024-3-git-send-email-thomas.palmer@hpe.com>
In TlsConfigureSession(), below piece of code should also be removed. Others is good to me.
HttpInstance->TlsConfigData.Version.Major = TLS10_PROTOCOL_VERSION_MAJOR;
HttpInstance->TlsConfigData.Version.Minor = TLS10_PROTOCOL_VERSION_MINOR;
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Thanks,
Jiaxin
> -----Original Message-----
> From: Thomas Palmer [mailto:thomas.palmer@hpe.com]
> Sent: Saturday, August 27, 2016 3:09 AM
> To: edk2-devel@lists.01.org
> Cc: joseph.shifflett@hpe.com; Wu, Jiaxin <jiaxin.wu@intel.com>; Thomas
> Palmer <thomas.palmer@hpe.com>
> Subject: [PATCH 2/2] [edk2-staging/HTTPS-TLS][PATCH]:
> NetworkPkg/HttpDxe: Unrestrict TLSv
>
> Demonstrate the TLS regotiation in this feature branch. Remove the code
> that calls EfiTlsVersion in the HttpDxe module.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
> ---
> NetworkPkg/HttpDxe/HttpsSupport.c | 12 +-----------
> 1 file changed, 1 insertion(+), 11 deletions(-)
>
> diff --git a/NetworkPkg/HttpDxe/HttpsSupport.c
> b/NetworkPkg/HttpDxe/HttpsSupport.c
> index 9a68b45..4cfeab5 100644
> --- a/NetworkPkg/HttpDxe/HttpsSupport.c
> +++ b/NetworkPkg/HttpDxe/HttpsSupport.c
> @@ -2,6 +2,7 @@
> Miscellaneous routines specific to Https for HttpDxe driver.
>
> Copyright (c) 2016, 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 which
> accompanies this distribution. The full text of the license may be found at
> @@ -487,23 +488,12 @@ TlsConfigureSession (
> HttpInstance->TlsConfigData.SessionState = EfiTlsSessionNotStarted;
>
> //
> - // EfiTlsVersion
> // EfiTlsConnectionEnd,
> // EfiTlsVerifyMethod
> // EfiTlsSessionState
> //
> Status = HttpInstance->Tls->SetSessionData (
> HttpInstance->Tls,
> - EfiTlsVersion,
> - &(HttpInstance->TlsConfigData.Version),
> - sizeof (EFI_TLS_VERSION)
> - );
> - if (EFI_ERROR (Status)) {
> - goto ERROR;
> - }
> -
> - Status = HttpInstance->Tls->SetSessionData (
> - HttpInstance->Tls,
> EfiTlsConnectionEnd,
> &(HttpInstance->TlsConfigData.ConnectionEnd),
> sizeof (EFI_TLS_CONNECTION_END)
> --
> 2.7.4
prev parent reply other threads:[~2016-09-07 8:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 19:08 [edk2-staging/HTTPS-TLS][PATCH]: CryptoPkg/TlsLib: Version renegotiate Thomas Palmer
2016-08-26 19:08 ` [PATCH 1/2] [edk2-staging/HTTPS-TLS][PATCH]: CryptoPkg/TlsLib: TLS Ver negotiate Thomas Palmer
2016-09-07 8:21 ` Wu, Jiaxin
2016-08-26 19:08 ` [PATCH 2/2] [edk2-staging/HTTPS-TLS][PATCH]: NetworkPkg/HttpDxe: Unrestrict TLSv Thomas Palmer
2016-09-07 8:23 ` Wu, Jiaxin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=895558F6EA4E3B41AC93A00D163B7274137FABC5@SHSMSX103.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox