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 96D28A0032; Tue, 17 May 2022 14:03:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8647B42820; Tue, 17 May 2022 14:03:22 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id D5E1742684 for ; Tue, 17 May 2022 14:03:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652789000; 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=VE4OSapotKlAUOLO4eRTw6pT7g5IhxcEcYI4aITUWjo=; b=br6TCicfdz9Dr72slasE6pUf3qT9wDH2PMOhLrywR5Hi0ppk5XzBJ5iX48rsmE8B2JNu5E S0aCoex39Y1q4+D7fU9vCOJR9AF7buQB04L00p5lCVtyeEFeDDhRgzGdBXkiLFJkrZfWQc U8Z2ZDSG84Lg0Qwil9hn+4WWpLA9JG0= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-474-_pDi2N1XO5id6Yx2nZab1g-1; Tue, 17 May 2022 08:03:19 -0400 X-MC-Unique: _pDi2N1XO5id6Yx2nZab1g-1 Received: by mail-lf1-f70.google.com with SMTP id k15-20020a192d0f000000b004743fcaf464so7874066lfj.17 for ; Tue, 17 May 2022 05:03:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=VE4OSapotKlAUOLO4eRTw6pT7g5IhxcEcYI4aITUWjo=; b=E5l6Uh1HwKN10wb1uW8jrMVr+WnYBqFOmsLVUJWU7nqSNFpWQPrYNS7I1Noo184yax npanI+mYkUUZhEw5yHsCqBDlnmzbAF/epwvW6XUpo/k3TpAnatI2OjkdjyYHQTbuHzaL CLyCoYA5bMmqiWQrv8QoJJMzV9c1SNov4B6ovpAty2O62RKHNZ0PTwvinET/ALrJWWe3 o6dFBSWSqLcQY/3dFgXIDGMjsmLvJQb0TbDL6e3piqJfxv7PB+SNIBhlksiXqwR6V6bU 2ozkjIqSCO6X1kqrINFfScJ0a2P+BHuBg4nyogeYdQyi1+LNS6G1LOVb7vXUbjNnwUis p/cw== X-Gm-Message-State: AOAM532JYhmtFtHyznGiNzixYsbGuydUOr+ldHm5yguDHc8hjOeZGjkW Z0YG1YeguScY7eTXAQTK9crD2XANJKWgQbmOz9F69toRyeBSxzSohsci1jBniXuZR+4V3b4Zjqh mV9YYPK1qL/SrNsko9gM= X-Received: by 2002:a05:6512:3183:b0:473:dffc:18ac with SMTP id i3-20020a056512318300b00473dffc18acmr16118344lfe.217.1652788997340; Tue, 17 May 2022 05:03:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1xk/z6fzgn+7+pXsfzi2jcGDNDGqam1J6ZGOijs+a01NgmGUZ7wSxNtwbLmpN2AaH09lheMeKJqW8nPfFHUE= X-Received: by 2002:a05:6512:3183:b0:473:dffc:18ac with SMTP id i3-20020a056512318300b00473dffc18acmr16118324lfe.217.1652788997140; Tue, 17 May 2022 05:03:17 -0700 (PDT) MIME-Version: 1.0 References: <20220510150635.61975-1-heinrich.schuchardt@canonical.com> In-Reply-To: <20220510150635.61975-1-heinrich.schuchardt@canonical.com> From: David Marchand Date: Tue, 17 May 2022 14:03:06 +0200 Message-ID: Subject: Re: [PATCH 1/1] drivers: define OPENSSL_API_COMPAT To: Heinrich Schuchardt Cc: Fan Zhang , Chandubabu Namburu , dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Tue, May 10, 2022 at 5:06 PM Heinrich Schuchardt wrote: > > The API of the OpenSSL library has changed with version 3.0. This results > in a lot of compiler warnings like > > ../dpdk/drivers/crypto/ccp/ccp_crypto.c:182:9: > warning: =E2=80=98SHA256_Transform=E2=80=99 is deprecated: > Since OpenSSL 3.0 [-Wdeprecated-declarations] > > As many Linux distributions still use elder OpenSSL libraries we cannot > change the used API now. Instead define OPENSSL_API_COMPAT to indicate > that we are using the OpenSSL 1.1.0 API. > > OPENSSL_API_COMPAT is introduced in *.c files and not in *.h files as som= e > *.c files directly include OpenSSL headers. > > Signed-off-by: Heinrich Schuchardt Thanks for the fix, I got a new shiny laptop running Fedora 36 and hit this issue. That may be something we want to backport, and I would then Cc: stable@dpdk= .org. Tested-by: David Marchand --=20 David Marchand