]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/UnitTest: fix DH testcase
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Apr 2022 11:24:57 +0000 (19:24 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 12 Apr 2022 14:39:01 +0000 (14:39 +0000)
commitf5508a91e306dd183ab971be438b9667c9890a1d
treed55edde3b9e7dd35edb80f170224485aeec19699
parentfab6285a73c4c73bb131792d0afb20be369082d1
CryptoPkg/UnitTest: fix DH testcase

openssl 3.0 wants at least 512 bytes, otherwise it throws an error:

error:0280007E:Diffie-Hellman routines::modulus too small

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/DhTests.c