diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-11-07 16:41:23 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-14 17:03:03 +0000 |
commit | cd681f5f6a44972cd792f4e0098d2fc91f1c5e97 (patch) | |
tree | 52932e10aadfc2b28e1afca2978c8e5582451781 | |
parent | d1c8a88e3b7bd762d5f7672b9a047165fc6f6075 (diff) | |
download | edk2-cd681f5f6a44972cd792f4e0098d2fc91f1c5e97.tar.gz edk2-cd681f5f6a44972cd792f4e0098d2fc91f1c5e97.tar.bz2 edk2-cd681f5f6a44972cd792f4e0098d2fc91f1c5e97.zip |
MdePkg/DxeRngLib: make mSecureHashAlgorithms static
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | MdePkg/Library/DxeRngLib/DxeRngLib.c | 2 |
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.)
|