[PATCH 5/5] NetworkPkg/TlsDxe: Sync to new TlsSetHostPrivateKey() API


yi1 li
 

Add NULL to param list to sync with new TlsSetHostPrivateKey() in TlsLib.

Cc: Jiewen Yao <jiewen.yao@...>
Cc: Jian J Wang <jian.j.wang@...>
Cc: Xiaoyu Lu <xiaoyu1.lu@...>
Cc: Guomin Jiang <guomin.jiang@...>
Cc: Maciej Rabeda <maciej.rabeda@...>
Cc: Jiaxin Wu <jiaxin.wu@...>
Cc: Siyuan Fu <siyuan.fu@...>
Signed-off-by: Yi Li <yi1.li@...>
---
NetworkPkg/TlsDxe/TlsConfigProtocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NetworkPkg/TlsDxe/TlsConfigProtocol.c b/NetworkPkg/TlsDxe/TlsConfigProtocol.c
index 33729fdf6c31..13532bb66c8a 100644
--- a/NetworkPkg/TlsDxe/TlsConfigProtocol.c
+++ b/NetworkPkg/TlsDxe/TlsConfigProtocol.c
@@ -65,7 +65,7 @@ TlsConfigurationSetData (
Status = TlsSetHostPublicCert (Instance->TlsConn, Data, DataSize);
break;
case EfiTlsConfigDataTypeHostPrivateKey:
- Status = TlsSetHostPrivateKey (Instance->TlsConn, Data, DataSize);
+ Status = TlsSetHostPrivateKey (Instance->TlsConn, Data, DataSize, NULL);
break;
case EfiTlsConfigDataTypeCertRevocationList:
Status = TlsSetCertRevocationList (Data, DataSize);
--
2.31.1.windows.1