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 45D0BC433EF for ; Thu, 9 Jun 2022 19:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243688AbiFITFY (ORCPT ); Thu, 9 Jun 2022 15:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231549AbiFITFX (ORCPT ); Thu, 9 Jun 2022 15:05:23 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E4556C0F for ; Thu, 9 Jun 2022 12:05:17 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id bg6so29508932ejb.0 for ; Thu, 09 Jun 2022 12:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JJGptLrlivYu3r1Vh/8xt7dfaCVEeV5kDBA6HRnUmvU=; b=deh/HChg+TfSg3z7xn7FcQAIg7H+tQW/ui2M7rcAe+8oHc12MP/eKSOnEhvsgU+0m0 Je05b+yG1RJee18y1iFpaLblwneXA/DAXedyYc83XRClm40a8mTttstWVO3HU/NeDnug /t0vZjgrQR+5VXutsYnVM2WND6OgjzGN50n1U= 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; bh=JJGptLrlivYu3r1Vh/8xt7dfaCVEeV5kDBA6HRnUmvU=; b=K2MdYa8K75+Zilk74hhnwxvJlBVuX0OHNTMrwieTiIMbjS8Hs0uGv/qevZfdcYyCoU WjxJv7KEC1E0avAh5TpvcTVk2u3mFoThZQ9F+UzpnEV6R9HcwmUt4tiFr1DCncAQbabO a7xzyBcVcCOKplXyViiQYxROiNPRH4Bku5se2hsU3Oa/OIguWh386utCKCO4s63ceu6v E6mlxp2oMOsRQvEOcJfxkDvKB8k/Wujxa7bD10LmTRMgqej8RBRXy6qcyNf2TPwNAgPt 7qwi7//biM+lUaLbIVYJ5IxW/2IYdb8ij+6sV81Sv2z8GjBq0PqQKWA7ProtjEMIkuYL 1JlQ== X-Gm-Message-State: AOAM532r823lVavOJveZ/z7qmCsW0XXcXvCrU6wdJjBjv7U/Z24e3HyX X18vZ7BzQBhQxxh3qg8NLIZG4Q3nV4GiTFzA X-Google-Smtp-Source: ABdhPJxJk5gnuuBOF8vRpKaQ3GnxFO9z90caRcnrM0tKRDZK68r5FJreEkew7a8hI724i8YZBbBHiQ== X-Received: by 2002:a17:907:1385:b0:710:6269:62a2 with SMTP id vs5-20020a170907138500b00710626962a2mr27792654ejb.537.1654801515451; Thu, 09 Jun 2022 12:05:15 -0700 (PDT) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com. [209.85.128.48]) by smtp.gmail.com with ESMTPSA id q12-20020a056402248c00b0042def6cd141sm9461530eda.30.2022.06.09.12.05.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jun 2022 12:05:14 -0700 (PDT) Received: by mail-wm1-f48.google.com with SMTP id m32-20020a05600c3b2000b0039756bb41f2so25417wms.3 for ; Thu, 09 Jun 2022 12:05:13 -0700 (PDT) X-Received: by 2002:a1c:5418:0:b0:39c:3552:c85e with SMTP id i24-20020a1c5418000000b0039c3552c85emr4853784wmb.68.1654801513341; Thu, 09 Jun 2022 12:05:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Thu, 9 Jun 2022 12:04:56 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Linux v5.17.9] -Wdeprecated-declarations warnings with LLVM-14 and OpenSSL v3.0.x To: Sedat Dilek Cc: 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 11:41 AM Sedat Dilek wrote: > > Why go back and forth... do it like Alexander the Great and the Gordian knot. > > Sword - Swash - Done. > > commit 6bfb56e93bcef41859c2d5ab234ffd80b691be35 > "cert host tools: Stop complaining about deprecated OpenSSL functions" Well, it's not like that is the *right* fix. But I think for now, the answer is "leave it like that until we can just get rid of the ENGINE API entirely". I absolutely detest the "deprecation" warnings. We used to do that in the kernel too, and it was a complete disaster. The warnings are very noisy, and nobody ever cares about them, so it's simply not worth it. So we deprecated "__deprecated" in the kernel itself: 771c035372a0 deprecate the '__deprecated' attribute warnings entirely and for good and I don't think we should care about it when it comes to OpenSSL either. Eventually, that deprecated interface will go away entirely, and by then we hopefully don't care about really old openssl implementations and will have gotten rid of the uses. But for now, I think putting our head in the sand is actually the _better_ model rather than fighting some battle over old vs new libraries. Because sometimes, if you ignore a problem, it really does just go away. Linus