]> git.proxmox.com Git - mirror_edk2.git/commitdiff
FmpDevicePkg: Add RngLib instance to DSC
authorMichael Kubacki <michael.kubacki@microsoft.com>
Thu, 15 Oct 2020 20:42:38 +0000 (04:42 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 19 Oct 2020 01:58:15 +0000 (01:58 +0000)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3010

Commit b5701a4 in CryptoPkg introduced a dependency on RngLib.

The FmpDevicePkg build currently fails since it does not specify
a RngLib instance and OpensslLib links against RngLib.

Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Matthew Carlson <matthewfcarlson@gmail.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
FmpDevicePkg/FmpDevicePkg.dsc

index bdb73f28288f6cf27425d78d71c41bf2f70a487c..cfeadd833038971e671550bd9dbca5686979b274 100644 (file)
@@ -6,7 +6,7 @@
 # Capsules.  The behavior of the Firmware Management Protocol instance is\r
 # customized using libraries and PCDs.\r
 #\r
-# Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>\r
+# Copyright (c) Microsoft Corporation.<BR>\r
 # Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>\r
 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
 #\r
@@ -57,6 +57,7 @@
   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
+  RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
 !endif\r
   FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
   CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf\r