From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 128FF1A1E5B for ; Fri, 26 Aug 2016 12:09:12 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 6AB6665; Fri, 26 Aug 2016 19:09:11 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Cc: joseph.shifflett@hpe.com, jiaxin.wu@intel.com, Thomas Palmer Date: Fri, 26 Aug 2016 14:08:45 -0500 Message-Id: <1472238525-40024-3-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472238525-40024-1-git-send-email-thomas.palmer@hpe.com> References: <1472238525-40024-1-git-send-email-thomas.palmer@hpe.com> Subject: [PATCH 2/2] [edk2-staging/HTTPS-TLS][PATCH]: NetworkPkg/HttpDxe: Unrestrict TLSv X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 19:09:12 -0000 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 --- 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.
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP
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