OvmfPkg: switch 4M builds to full openssl

The Full variant enables support for EC, which in turn is needed for TLS
1.3.  It also increases the size, so turn this on for 4M builds only.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2025-04-15 09:59:01 +02:00 committed by mergify[bot]
parent 30c754d853
commit 63e4713c48

View file

@ -5,7 +5,11 @@
[LibraryClasses]
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
!if $(NETWORK_TLS_ENABLE) == TRUE
!if $(FD_SIZE_IN_KB) < 4096
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
!else
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
!endif
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
!else
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf