From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web09.13297.1638547780636642902 for ; Fri, 03 Dec 2021 08:09:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Llz26YoD; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638547779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+b53W/ooITpeLsxI/a8ZPOMlp27sPqSJK/bZCD2tlwQ=; b=Llz26YoDeG9E22qiu5Brv29WvoWfq7wnsyoyznwua87tsfPRXBfy2uu3c1j4Y1k7zTxYAc DbiaNRv96tyKzaWdtntQU7mTu7lESEqTR0haFvodblZMAP7KlzYq2USaHhFXGKV3mac/vS tCktrgOC/IC57hHDg54h7CwZupKYllo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-251-HmgKJTjXNM6tXZvvWTCnVw-1; Fri, 03 Dec 2021 11:09:36 -0500 X-MC-Unique: HmgKJTjXNM6tXZvvWTCnVw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 857D51023F50; Fri, 3 Dec 2021 16:09:35 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.170]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4453C60C13; Fri, 3 Dec 2021 16:09:15 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 14B8418003B3; Fri, 3 Dec 2021 17:07:49 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Guomin Jiang , Pawel Polawski , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Xiaoyu Lu , Gerd Hoffmann Subject: [PATCH 15/24] CryptoPkg/openssl: add dummy file store Date: Fri, 3 Dec 2021 17:07:39 +0100 Message-Id: <20211203160748.866150-16-kraxel@redhat.com> In-Reply-To: <20211203160748.866150-1-kraxel@redhat.com> References: <20211203160748.866150-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Needed to link openssl 3.0 with storage management code excluded. Signed-off-by: Gerd Hoffmann --- 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 /* 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