Skip to content

Commit

Permalink
CryptoPkg/Test: call ProcessLibraryConstructorList
Browse files Browse the repository at this point in the history
Needed to properly initialize BaseRngLib.

Signed-off-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
kraxel authored and mergify[bot] committed Jun 14, 2024
1 parent ce91687 commit 94961b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
**/
#include "TestBaseCryptLib.h"

VOID
EFIAPI
ProcessLibraryConstructorList (
VOID
);

/**
Initialize the unit test framework, suite, and unit tests for the
sample unit tests and run the unit tests.
Expand Down Expand Up @@ -76,5 +82,6 @@ main (
char *argv[]
)
{
ProcessLibraryConstructorList ();
return UefiTestMain ();
}

0 comments on commit 94961b8

Please sign in to comment.