summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-11-07 16:41:23 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-11-14 17:03:03 +0000
commitcd681f5f6a44972cd792f4e0098d2fc91f1c5e97 (patch)
tree52932e10aadfc2b28e1afca2978c8e5582451781 /MdePkg
parentd1c8a88e3b7bd762d5f7672b9a047165fc6f6075 (diff)
downloadedk2-cd681f5f6a44972cd792f4e0098d2fc91f1c5e97.tar.gz
edk2-cd681f5f6a44972cd792f4e0098d2fc91f1c5e97.tar.bz2
edk2-cd681f5f6a44972cd792f4e0098d2fc91f1c5e97.zip
MdePkg/DxeRngLib: make mSecureHashAlgorithms static
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/DxeRngLib/DxeRngLib.c2
1 files changed, 1 insertions, 1 deletions
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.)