summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-11-07 16:41:55 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-14 17:03:03 +0000
commitfe1272dc5786a77d6c5d979dbbf72df70b7f9fdd (patch)
tree85a78909aed481c30c4e3d8fb23f2f60bf18e8a4
parentcd681f5f6a44972cd792f4e0098d2fc91f1c5e97 (diff)
downloadedk2-fe1272dc5786a77d6c5d979dbbf72df70b7f9fdd.tar.gz
edk2-fe1272dc5786a77d6c5d979dbbf72df70b7f9fdd.tar.bz2
edk2-fe1272dc5786a77d6c5d979dbbf72df70b7f9fdd.zip
NetworkPkg/DxeNetLib: make mSecureHashAlgorithms static
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--NetworkPkg/Library/DxeNetLib/DxeNetLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c
index cf875d7af3..9acc21caeb 100644
--- a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c
+++ b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c
@@ -144,7 +144,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED VLAN_DEVICE_PATH mNetVlanDevicePathTemplate = {
// If your platform needs to use a specific algorithm for the random number
// generator, then you should modify this array.
//
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID *mSecureHashAlgorithms[] = {
+static GLOBAL_REMOVE_IF_UNREFERENCED EFI_GUID *mSecureHashAlgorithms[] = {
&gEfiRngAlgorithmSp80090Ctr256Guid, // SP800-90A DRBG CTR using AES-256
&gEfiRngAlgorithmSp80090Hmac256Guid, // SP800-90A DRBG HMAC using SHA-256
&gEfiRngAlgorithmSp80090Hash256Guid, // SP800-90A DRBG Hash using SHA-256