Skip to content
Commit bfb574db authored by Pierre Gondois's avatar Pierre Gondois Committed by mergify[bot]
Browse files

SecurityPkg/RngDxe: Correctly update mAvailableAlgoArrayCount



mAvailableAlgoArrayCount holds the count of available RNG algorithms.
In a following patch, its value will be used to prevent the
EFI_RNG_PROTOCOL to be installed if no RNG algorithm is available.

Correctly set/reset the value for all implementations.

Signed-off-by: Pierre Gondois's avatarPierre Gondois <pierre.gondois@arm.com>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent aa1cd447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment