From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80CDFC43334 for ; Thu, 9 Jun 2022 19:32:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232744AbiFITc3 (ORCPT ); Thu, 9 Jun 2022 15:32:29 -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-Google-Smtp-Source: ABdhPJzp+3cKmgr0Ld0E/gduXew0HM21lB4wccTngkPkf3WY+uazLuR/GvCVKERiir3zLyaA2Ial2PcNDansldTt/KM= 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" Precedence: bulk List-ID: X-Mailing-List: keyrings@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-