Needed to link openssl 3.0 with storage management code excluded.

Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
---
 CryptoPkg/Library/OpensslLib/ossl_store.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/CryptoPkg/Library/OpensslLib/ossl_store.c 
b/CryptoPkg/Library/OpensslLib/ossl_store.c
index 29e1506048e3..1ba9fe790a2f 100644
--- a/CryptoPkg/Library/OpensslLib/ossl_store.c
+++ b/CryptoPkg/Library/OpensslLib/ossl_store.c
@@ -6,6 +6,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
 
+#include <openssl/store.h>       /* The OSSL_STORE_INFO type numbers */
+
 /*
  * This function is cleanup ossl store.
  *
@@ -15,3 +17,12 @@ void ossl_store_cleanup_int(void)
 {
 }
 
+static void *file_open(void *provctx, const char *uri)
+{
+  return NULL;
+}
+
+const OSSL_DISPATCH ossl_file_store_functions[] = {
+    { OSSL_FUNC_STORE_OPEN, (void (*)(void))file_open },
+    { 0, NULL },
+};
-- 
2.33.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84321): https://edk2.groups.io/g/devel/message/84321
Mute This Topic: https://groups.io/mt/87479982/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to