diff options
author | Yi Li <yi1.li@intel.com> | 2022-04-19 22:37:38 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-04-21 05:06:37 +0000 |
commit | b06a007b6471b6eba6d1c38ff1bcfff183b57488 (patch) | |
tree | bb0235093f89a37e548ee9de482a35b5a17063b7 /CryptoPkg/Library/TlsLib/TlsLib.inf | |
parent | 892787fed516a147f3edfd2bb4fa0cf67c599be6 (diff) | |
download | edk2-b06a007b6471b6eba6d1c38ff1bcfff183b57488.tar.gz edk2-b06a007b6471b6eba6d1c38ff1bcfff183b57488.tar.bz2 edk2-b06a007b6471b6eba6d1c38ff1bcfff183b57488.zip |
CryptoPkg: Declare PcdEcEnabled in Library consuming OpensslLib
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828
Tls/Base/Pei/Smm/RuntimeCryptLib.inf will use OpensslLib,
and the opensslconf.h in openssllib will use PcdEcEnabled,
but it is not declared in the inf file now,
it will cause warnings in some compilers.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'CryptoPkg/Library/TlsLib/TlsLib.inf')
-rw-r--r-- | CryptoPkg/Library/TlsLib/TlsLib.inf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CryptoPkg/Library/TlsLib/TlsLib.inf b/CryptoPkg/Library/TlsLib/TlsLib.inf index 27209f4d7f..001e13e399 100644 --- a/CryptoPkg/Library/TlsLib/TlsLib.inf +++ b/CryptoPkg/Library/TlsLib/TlsLib.inf @@ -41,6 +41,9 @@ OpensslLib
SafeIntLib
+[FixedPcd]
+ gEfiCryptoPkgTokenSpaceGuid.PcdEcEnabled
+
[BuildOptions]
#
# suppress the following warnings so we do not break the build with warnings-as-errors:
|