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.web11.15098.1678696229478714830 for ; Mon, 13 Mar 2023 01:30:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CcXbMiL1; 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=1678696228; 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=iVA/IURv3aTN6ZCVxgOKL9ysgJGL3DGsFnATaa0c+Ss=; b=CcXbMiL1xg3cBCvtZzNmjEDsZo0b2M9+hrrOi7CTMJNd6etyLik8YfgaE+u+x6OUBZWkRC oMcZbQOkmWcwQLf3iJs6XUusZ1qvuP04yi6SjCFApJzImJMi3B93wsPxcO45ZcjBEuiv8P bvjgj52eTQQm/qoWVcpKz/jz0rYJsGg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-339-E4_B-J8KPU-Bzrs11Ns_yw-1; Mon, 13 Mar 2023 04:30:25 -0400 X-MC-Unique: E4_B-J8KPU-Bzrs11Ns_yw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E7C9685D185; Mon, 13 Mar 2023 08:30:24 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.142]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B0C4840C6E68; Mon, 13 Mar 2023 08:30:24 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 540091801E85; Mon, 13 Mar 2023 09:30:16 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jian J Wang , Pawel Polawski , Xiaoyu Lu , Ard Biesheuvel , Guomin Jiang , Gerd Hoffmann , Jiewen Yao , Oliver Steffen , Jordan Justen Subject: [PATCH 07/22] CryptoPkg/BaseCryptLib: no openssl deprecation warnings please Date: Mon, 13 Mar 2023 09:30:01 +0100 Message-Id: <20230313083016.136448-8-kraxel@redhat.com> In-Reply-To: <20230313083016.136448-1-kraxel@redhat.com> References: <20230313083016.136448-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Stop using deprecated interfaces is left as exercise for another day. So please don't warn for now so -Werror builds can work. Signed-off-by: Gerd Hoffmann --- CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h b/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h index 3412acc67692..477e3ae5f199 100644 --- a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h +++ b/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h @@ -20,6 +20,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include "CrtLibSupport.h" +#define OPENSSL_NO_DEPRECATED 0 + #include #if OPENSSL_VERSION_NUMBER < 0x10100000L -- 2.39.2