From cd681f5f6a44972cd792f4e0098d2fc91f1c5e97 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 7 Nov 2024 16:41:23 +0100 Subject: MdePkg/DxeRngLib: make mSecureHashAlgorithms static Signed-off-by: Gerd Hoffmann --- MdePkg/Library/DxeRngLib/DxeRngLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/DxeRngLib/DxeRngLib.c b/MdePkg/Library/DxeRngLib/DxeRngLib.c index 3092d3ebcf..c0644d3c5e 100644 --- a/MdePkg/Library/DxeRngLib/DxeRngLib.c +++ b/MdePkg/Library/DxeRngLib/DxeRngLib.c @@ -32,7 +32,7 @@ typedef struct { // These represent UEFI SPEC defined algorithms that should be supported by // the RNG protocol and are generally considered secure. // -GLOBAL_REMOVE_IF_UNREFERENCED SECURE_RNG_ALGO_ARRAY mSecureHashAlgorithms[] = { +static GLOBAL_REMOVE_IF_UNREFERENCED SECURE_RNG_ALGO_ARRAY mSecureHashAlgorithms[] = { #ifdef MDE_CPU_AARCH64 { &gEfiRngAlgorithmArmRndr, // unspecified SP800-90A DRBG (through RNDR instr.) -- cgit v1.2.3