From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AB4BDA04FF; Mon, 16 May 2022 12:10:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E85742823; Mon, 16 May 2022 12:10:49 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 3FC9D40A79 for ; Mon, 16 May 2022 12:10:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652695847; x=1684231847; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=CvnHm7ILlfkYLB2LGEhjzZ+YmiyIhX7f87XPekEewJU=; b=EgyH+W10xHAbb73onmN7t/jA9O5br9Uupw1eqD/sQ7B0/wZnQLgPmw+S Ji34yVyI+UBGAcnyGucyaYUDJm6MSB+qRXix6CC9rKEgqkFF1K6VVn39k X/kAfnRQbYyIY39h0a1qQggoLUpQ+aAHDg3k82j+3oi3q4mbXzJcVm9po ViWVzdrJMU0Q1ycBz/t9gk1spAAnScFLTqcETSK4oZsp8jEookhWM607G 4NQOe0EEis1xZXZMHxUD10bu9+4TpVEfcHh5zRB8WCYnzsz206wa96y4Z LyTfM3YAgQi2yWi/leI68yDMls+5OG1f0i0/sQIsSRJK4srLG58pAn4vs Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10348"; a="252857794" X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="252857794" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 03:10:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="568254333" Received: from silpixa00400465.ir.intel.com ([10.55.128.22]) by orsmga007.jf.intel.com with ESMTP; 16 May 2022 03:10:43 -0700 From: Kai Ji To: dev@dpdk.org Cc: Kai Ji Subject: [dpdk-dev v2 1/5] drivers/crypto: suppress openssl deprecated api warning messages Date: Mon, 16 May 2022 18:10:35 +0800 Message-Id: <20220516101039.4537-2-kai.ji@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220516101039.4537-1-kai.ji@intel.com> References: <20220407163648.38583-1-kai.ji@intel.com> <20220516101039.4537-1-kai.ji@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Enable openssl_api_compat cflag to suppress deprecated api warning messages in crypto pmd drivers: ccp, openssl and qat. Signed-off-by: Kai Ji --- drivers/common/qat/meson.build | 1 + drivers/crypto/ccp/meson.build | 1 + drivers/crypto/openssl/meson.build | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/common/qat/meson.build b/drivers/common/qat/meson.build index b7027f3164..6c3e7275ef 100644 --- a/drivers/common/qat/meson.build +++ b/drivers/common/qat/meson.build @@ -87,3 +87,4 @@ if qat_crypto ext_deps += libcrypto cflags += ['-DBUILD_QAT_SYM', '-DBUILD_QAT_ASYM'] endif +cflags += ['-DOPENSSL_API_COMPAT=0x10100000L'] diff --git a/drivers/crypto/ccp/meson.build b/drivers/crypto/ccp/meson.build index a4f3406009..fe89e17b14 100644 --- a/drivers/crypto/ccp/meson.build +++ b/drivers/crypto/ccp/meson.build @@ -23,3 +23,4 @@ sources = files( ) ext_deps += dep +cflags += ['-DOPENSSL_API_COMPAT=0x10100000L'] diff --git a/drivers/crypto/openssl/meson.build b/drivers/crypto/openssl/meson.build index cd962da1d6..9a3dea2c04 100644 --- a/drivers/crypto/openssl/meson.build +++ b/drivers/crypto/openssl/meson.build @@ -15,3 +15,4 @@ endif deps += 'bus_vdev' sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c') ext_deps += dep +cflags += ['-DOPENSSL_API_COMPAT=0x10100000L'] -- 2.17.1