From: Thomas Palmer <thomas.palmer@hpe.com>
To: edk2-devel@lists.01.org
Cc: joseph.shifflett@hpe.com, jiaxin.wu@intel.com,
Thomas Palmer <thomas.palmer@hpe.com>
Subject: [PATCH 2/2] [edk2-staging/HTTPS-TLS][PATCH]: NetworkPkg/HttpDxe: Unrestrict TLSv
Date: Fri, 26 Aug 2016 14:08:45 -0500 [thread overview]
Message-ID: <1472238525-40024-3-git-send-email-thomas.palmer@hpe.com> (raw)
In-Reply-To: <1472238525-40024-1-git-send-email-thomas.palmer@hpe.com>
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
next prev parent reply other threads:[~2016-08-26 19:09 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 ` Thomas Palmer [this message]
2016-09-07 8:23 ` [PATCH 2/2] [edk2-staging/HTTPS-TLS][PATCH]: NetworkPkg/HttpDxe: Unrestrict TLSv Wu, Jiaxin
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=1472238525-40024-3-git-send-email-thomas.palmer@hpe.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