diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProto.c index 199d575cf9..2e784def4c 100644 --- a/NetworkPkg/HttpDxe/HttpProto.c +++ b/NetworkPkg/HttpDxe/HttpProto.c @@ -1475,6 +1475,8 @@ HttpTransmitTcp ( Status = EFI_SUCCESS; Buffer = NULL; + TempFragment.Len = 0; + TempFragment.Bulk = NULL; // // Need to encrypt data. diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c index e81e961553..5f04503887 100644 --- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c +++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c @@ -1718,7 +1718,7 @@ TlsAuthConfigAccessCallback ( } if (QuestionId == KEY_TLS_AUTH_CONFIG_CLIENT_CERT) { LabelId = TLS_AUTH_CONFIG_FORMID3_FORM; - } else if (QuestionId == KEY_TLS_AUTH_CONFIG_SERVER_CA) { + } else { LabelId = TLS_AUTH_CONFIG_FORMID4_FORM; }