From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web10.9786.1634017109047248577 for ; Mon, 11 Oct 2021 22:38:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jQJ+OiZn; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: vineel.kovvuri@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id s75so12855792pgs.5 for ; Mon, 11 Oct 2021 22:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=rQbXOPz20U/nGQSNHfzLzV4Hok+4SpC1WManKJvW04U=; b=jQJ+OiZnOwk5qTO6Zfoojmxbxk1l094d5P9NWAZ0daK5TDGx5isDx99Hk+8Rbq0rje BCn95AvEq65lbp9g7Ply29iGA++u52p7VzpWX6IuBipKF2fPhg8B99uPw9AiBEKP6LW3 8OvN3K6Gr53Z1GDqPrTQ/RpGVtevemB2/NNMCrpP+wJxm8H2Npk/J0ENspTHZpgC/61w G6LJjahrZuYjahuFur6P8rvoUMrxRk/iElKpTjZwcqZSmmk+Z54t920y1NOi7vveTWKG /sanoxT92o94DKLgilkOkDzJNvbcjKhCx+C+YihjEj2oKlpfm5fDhWDZ2IiMzU/iAYyJ UVug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=rQbXOPz20U/nGQSNHfzLzV4Hok+4SpC1WManKJvW04U=; b=XbWhAQCRZYLYwTj24ZIvML8IlL6i8pY9cfdE4I8Fzipu8wDg2/Mx9ipb6llxr8Gq9d YJVWYAs0rNg7fIjhrGBU/wKxS4AfDo+s7W7ztL/K0qg2LnC/G40GC/0QUc7IRWFE/SIn CISX2qVZa3uXaSBELkv9SJ+UUbrsz46D9Tdk7MFgV66EIXW5nAsHQOqHO+DLWrYatEbh GgBWwNFUNQMqcz5/2lNREgIGc+oAvMvManYyz/F3h0+MJYw9qpBi6jNbCYjh1pUAQx1G aK4m6h7Teu9sw7+QFdMcg0z37nhYFwRhrN9AhCWgWKmadRATBpdmxFiJWVRXTf/sqX4s GEsQ== X-Gm-Message-State: AOAM530XXmkg/wJsCr5SuBc/IeufmgNHluA3y+U9KgkFiT+YDqRRw6b5 r4qaaONzcMMoOzp6KBfPjts3tBA/Du+LA8A6/BY= X-Google-Smtp-Source: ABdhPJzf5S9A77dnC/iHoa1/qjXD+UIh4nmrv3xN5u4rNXQfPEYd91AfCX8EdTIe2rVLR4w9sxWycA== X-Received: by 2002:a63:3748:: with SMTP id g8mr21279260pgn.102.1634017108576; Mon, 11 Oct 2021 22:38:28 -0700 (PDT) Return-Path: Received: from VIN-Z2-DEV.redmond.corp.microsoft.com ([50.35.92.111]) by smtp.gmail.com with ESMTPSA id z23sm9869605pgv.45.2021.10.11.22.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 22:38:28 -0700 (PDT) From: Vineel Kovvuri X-Google-Original-From: Vineel Kovvuri To: devel@edk2.groups.io, jiewen.yao@intel.com, sean.brogan@microsoft.com, bret.barkelew@microsoft.com, Michael.Turner@microsoft.com Cc: Vineel Kovvuri Subject: [PATCH 2/2] Allow wildcards in hostname Date: Mon, 11 Oct 2021 22:38:20 -0700 Message-Id: <06e1abfade77dbf913e3e25f1e26dfc54f550696.1633999992.git.vineelko@microsoft.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: This PR is cherry-picked from https://github.com/microsoft/mu_basecore/commit/d0c7733400c35722499eedcd4279042a9bcb0eb4 BugZilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3679 Signed-off-by: Vineel Kovvuri --- NetworkPkg/HttpDxe/HttpsSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkPkg/HttpDxe/HttpsSupport.c b/NetworkPkg/HttpDxe/HttpsSupport.c index 7e0bf85c3c..0f28ae9447 100644 --- a/NetworkPkg/HttpDxe/HttpsSupport.c +++ b/NetworkPkg/HttpDxe/HttpsSupport.c @@ -625,7 +625,7 @@ TlsConfigureSession ( // HttpInstance->TlsConfigData.ConnectionEnd = EfiTlsClient; HttpInstance->TlsConfigData.VerifyMethod = EFI_TLS_VERIFY_PEER; - HttpInstance->TlsConfigData.VerifyHost.Flags = EFI_TLS_VERIFY_FLAG_NO_WILDCARDS; + HttpInstance->TlsConfigData.VerifyHost.Flags = EFI_TLS_VERIFY_FLAG_NONE; HttpInstance->TlsConfigData.VerifyHost.HostName = HttpInstance->RemoteHost; HttpInstance->TlsConfigData.SessionState = EfiTlsSessionNotStarted; -- 2.17.1