diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-06-14 11:45:49 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-14 13:31:12 +0000 |
commit | 94961b8817eec6f8d0434555ac50a7aa51c22201 (patch) | |
tree | fd5bc1ec3cb38d91be7647b96be645782d5a7bc0 | |
parent | ce91687a1b2d4e03b01abb474b4665629776f588 (diff) | |
download | edk2-94961b8817eec6f8d0434555ac50a7aa51c22201.tar.gz edk2-94961b8817eec6f8d0434555ac50a7aa51c22201.tar.bz2 edk2-94961b8817eec6f8d0434555ac50a7aa51c22201.zip |
CryptoPkg/Test: call ProcessLibraryConstructorList
Needed to properly initialize BaseRngLib.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c b/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c index d0c1c7a4f7..48d463b8ad 100644 --- a/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c +++ b/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/UnitTestMain.c @@ -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.
@@ -76,5 +82,6 @@ main ( char *argv[]
)
{
+ ProcessLibraryConstructorList ();
return UefiTestMain ();
}
|