Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp763178iol; Thu, 9 Jun 2022 13:30:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5/P7xIA4dAENbcNt0hy+jgYPSSH6yl8cSFtpxazEQA3dGPeB1UHQHLIP6LEtGHqCsmx4b X-Received: by 2002:a05:6402:2710:b0:42e:28c9:fa7 with SMTP id y16-20020a056402271000b0042e28c90fa7mr41849195edd.2.1654806648399; Thu, 09 Jun 2022 13:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654806648; cv=none; d=google.com; s=arc-20160816; b=O0rDzGGfJKPsE8IyyalV4Qcex//usUNMpz0rmV9tXp8f1Cldcsmg//GWJawqQ3dqS0 pbHSeQNAIV9aCJNEi7Eii9XQP4X3MAYwx3OXHIHbtm/yApgFRfmDP38BrPsSwQA8SCv1 Jbn8SjAyn1npPBXaZqA/jjs/qRcD1LrPE3vQIo3+sKVto94DfzqjFMdo9b8OEbB2f3az zlALMw3IkZ26qEwTw7bIS6V1YmSWgo9w//27ATIbWJDHUqvUYbSwS8gikhiPRzPSsArJ NCpS7bs5ndcSyvlYVSTEWyi4ne0D3KDaqe6g1MmkqTeL0Mva1BSJ8jIEmflJrXv/B/zs mUmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=vK0gqUxlF5+nrUpbBLImn6xeSITO/VWm8eA5YMiJKYw=; b=0aKA9aof3nUxE1RflAjbrUvEokNsbZQNApBoty+nppNYgjPAU1kcpa1BvJfpHepI0O SJe+D1aWdxgoFFCKumeK+l7y/+TH907YdAmajZn419GVR6OvcHzJz2uD08rVHjHHCUBf Rcd+y1npDj3NzbwuJmsMqOvnccEzDsv9wAwzV+fgOhZCrOAPzvz11xqa3fbqY/GCU7hz f4eV08soPdGHgV2gWCMqckVgx8R1dNWGu0UawLbyi3G1p8rSs8aJaJGJv9pNJ0s0TgSh SeGXpumwWH7L0/X8v2O4iXQoPz2QzvZXucC16CTkWs01RpbFq6xa0FjyA3bbRvEPL65I OsbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WENXzV+f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1-20020a17090699c100b0070abccf45adsi24789655ejn.362.2022.06.09.13.30.17; Thu, 09 Jun 2022 13:30:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WENXzV+f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245671AbiFITcb (ORCPT + 99 others); Thu, 9 Jun 2022 15:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235234AbiFITcV (ORCPT ); Thu, 9 Jun 2022 15:32:21 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8BEF1124D6; Thu, 9 Jun 2022 12:32:20 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id h18so19487711ilj.7; Thu, 09 Jun 2022 12:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=vK0gqUxlF5+nrUpbBLImn6xeSITO/VWm8eA5YMiJKYw=; b=WENXzV+fR2uXHUawg+rcx0jxNQA/3XqQmdOdLJq8HF6NPlgGA69/Eso6yhT4DB9UvW rE1I0h2RsbOb0H2c/S+D5zSRzr07YoPK7B6OO6w8MBhM8mfAaYfeJ9mH4OVT6xRB4/z6 mgzowQqlLnElRl3PqNgd/Xhj7tCvuRihydElK3QIqvISOQ83t3jBI2CHX/KSG0hD5PUI 5tO4/sfnoMkT3G1NxdHePVBDNn4v61pBQ6JO3XLErWOfCcZdQrMhl82mUxkX0b2aatJI TRb3oQeK7mVJxY0ExEyOF7g3ZXdsPiVTBf6ubtSKdMY6VaGqUPEvOKBUfGX/Y14J9bXY dZqg== 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:reply-to :from:date:message-id:subject:to:cc; bh=vK0gqUxlF5+nrUpbBLImn6xeSITO/VWm8eA5YMiJKYw=; b=q5n3t/2ly/phsEc3PH1g7SMQaQkLB8OzS9hMkVCbs5FgY2Ah/TWSml3wWeAjNYmZLV RTN7VjZxlqMJHvJ3laGF2j7cj46WIrRJ5lGQoeldpg8+5RL0YEf6b/bAGR7YNO7XDDcc 5dKm59htHlB69imKh4VG7zOccKTq+TZYxohiB4Tb/HTGJ8Im7Ip8bJjMM/UKjxbHoRfE zxHDrHD3bsHYzTlnJUw0VWU6PPZ0XrrN72CE87VBdO9+PNdGu+SSJH9c8wuW6AJc2kcW CnUJ9QAKQwlhr5H4ntJqntQiTpq31Tyze7aEaDc4jIFZF+JsOt8+BAqQK6GmR1CkqdIF Kf9Q== X-Gm-Message-State: AOAM530Tm0gqAF7bUwATgzXVwCtSS885JZz/2Bphtjrt1C8PDXhwAMN5 24y0ZINiAxd8Cg6Layf4oDKASgPZK+T1DcJYR9t0zBvB/Pe10w== X-Received: by 2002:a05:6e02:1a8e:b0:2d3:bd16:40ee with SMTP id k14-20020a056e021a8e00b002d3bd1640eemr23705942ilv.20.1654803140323; Thu, 09 Jun 2022 12:32:20 -0700 (PDT) MIME-Version: 1.0 References: <20220609192308.GB10732@1wt.eu> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Thu, 9 Jun 2022 21:31:44 +0200 Message-ID: Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14 and OpenSSL v3.0.x To: Linus Torvalds Cc: Willy Tarreau , Kees Cook , keyrings@vger.kernel.org, Linux Kernel Mailing List , Salvatore Bonaccorso , David Woodhouse , David Howells , Tasmiya Nalatwad , James Bottomley Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 9, 2022 at 9:25 PM Linus Torvalds wrote: > > On Thu, Jun 9, 2022 at 12:23 PM Willy Tarreau wrote: > > > > IIRC you can also disable the deprecation warnings by defining the > > OPENSSL_SUPPRESS_DEPRECATED macro. It doesn't require to change the > > compiler's options and allows us to put our head in the sand. > > That one had the downside that you have to know what you're doing to > make such a change ;) > > I just wanted to be able to start doing pulls again after mistakenly > thinking that an upgrade would be pain-free. > My first approach in making this work.... From 3b019a241a72742c7f239965ed92385e9ffd9ed3 Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Fri, 27 May 2022 09:25:45 +0200 Subject: [PATCH] extract-cert: Suppress warnings with OpenSSL v3 API Signed-off-by: Sedat Dilek --- certs/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/certs/Makefile b/certs/Makefile index d8443cfb1c40..52f71f0925e2 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -75,4 +75,5 @@ targets += x509_revocation_list hostprogs := extract-cert HOSTCFLAGS_extract-cert.o = $(shell pkg-config --cflags libcrypto 2> /dev/null) +HOSTCFLAGS_extract-cert.o += -Wno-deprecated-declarations HOSTLDLIBS_extract-cert = $(shell pkg-config --libs libcrypto 2> /dev/null || echo -lcrypto) -- 2.36.1 ...before looking through the Wild Wild Web for fixes. -Sedat-