From 92e9c44f205a876556abe1a1addea5c40e4f3ccf Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Fri, 16 Oct 2020 04:42:38 +0800 Subject: [PATCH] FmpDevicePkg: Add RngLib instance to DSC 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 Cc: Wei6 Xu Cc: Liming Gao Cc: Michael D Kinney Cc: Matthew Carlson Signed-off-by: Michael Kubacki Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney --- FmpDevicePkg/FmpDevicePkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc index bdb73f2828..cfeadd8330 100644 --- a/FmpDevicePkg/FmpDevicePkg.dsc +++ b/FmpDevicePkg/FmpDevicePkg.dsc @@ -6,7 +6,7 @@ # Capsules. The behavior of the Firmware Management Protocol instance is # customized using libraries and PCDs. # -# Copyright (c) 2016, Microsoft Corporation. All rights reserved.
+# Copyright (c) Microsoft Corporation.
# Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.
# @@ -57,6 +57,7 @@ IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf !endif FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf