Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp762096iol; Thu, 9 Jun 2022 13:29:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1vAzavnDfn5eNEktLg8+vxNji7Vi4mj8Tzi9pKDc4qiz002r1g1xu7h3fZzHc8jn/k2Uo X-Received: by 2002:a05:6402:34cc:b0:431:67ed:96a0 with SMTP id w12-20020a05640234cc00b0043167ed96a0mr24345534edc.372.1654806548917; Thu, 09 Jun 2022 13:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654806548; cv=none; d=google.com; s=arc-20160816; b=tfdN5WeYs9Nei6x2aIppFo/DtG+XKFPsuAKIjgseAP5OEvbiX5veUAYpbecwjQRt3W 6QYjMuh5mniu1UDsqJwB4TJ2QYuD0Y//u3W7pG6Mq96bnos+ZQkpoZ2dEjlkWVnKhh9C EaOK0YCjO4vBCqkQpIcsMzRwMq3GObBHu4iFvx/mGq2hHFxLn6VQvVm86V7W2xWTEV1c QPwGlBEjrAyQLLQDrVSmB+ncLlMNNIoKZoCCYh7nDOmUDlG0D2sqIrKaOx93l5E09Zk4 DdE1ONbRrDRWhQDSwC0zqEsEnWtpCVFIlAE+L/wGJqHfp8RhzXlzZmO/VjRdPjs5nOgI rlXg== 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:in-reply-to :references:mime-version:dkim-signature; bh=JJGptLrlivYu3r1Vh/8xt7dfaCVEeV5kDBA6HRnUmvU=; b=vAJk1Ifk+MsS/gyI+8EPddfAxpEFz7oGjXy5E9rsENAWDXzRyWSV37Z4be+/fHGWmG rLm2qMGBm0pVPl/q4aDTR2UMaawd2DLfa2ifhx/p82Qo3JA8POS0KVFq01RxpqCAbFC9 qAhKvTqsXFIJjZJjFXPWWThU21pJthBeRoVM40uptXyKRwyUjOd1Xylw92QjUnzzxpa0 mxF1G4eC8DiCvRhyiHEwFlFa1pjLJIezW6NUOEEk59Xm34agosZXXI2gN3ze/pLG+i6H utnsi80hCa7Ot3X4/0+RdBKN6E3wDxKYVxGphxWQ/jipnkFJdvf29D7BQZ/tqQW1GoTB Oc2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="deh/HChg"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a50e68f000000b0042ddc8cda23si26140794edm.304.2022.06.09.13.28.42; Thu, 09 Jun 2022 13:29:08 -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=@linux-foundation.org header.s=google header.b="deh/HChg"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239775AbiFITFY (ORCPT + 99 others); Thu, 9 Jun 2022 15:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234501AbiFITFX (ORCPT ); Thu, 9 Jun 2022 15:05:23 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 592475932E for ; Thu, 9 Jun 2022 12:05:17 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id o7so16012833eja.1 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=yl++0BB57rp4dAPWFsOJADGSEGpLmqe5VzfUbyYVdXEzyM7mCSHUj5brZ5HZNvedDA i1AWyT+SxwckY/sOWYGjQ0PZPe5G9AWikxUoVxCM5HUg8Q6ueGMyBPBkoeC8s8hOhP2Z Kp6Kt+6XUaqDFgw/4zVSBonZa6qR2G+YOkAnkOmYdciITuNMxtK/Ul0IJra8MRqJSSI8 wKwMJ9wWPk0wQVPZvS3sBmjbswg00OgEhnZz5G8pLBNZ71c9m+qOrB2NSSZzZmIYqhrv nFWRVNzSpGkS5cymV4S5P7fY7eVfMHJyKNKvrDlHQiB4KySoAsls2kLghRY9GtpSi89I fY8w== X-Gm-Message-State: AOAM532HU+q34GIvbK6kWBLrHZNkNWCfaJ9r+f2jHApNbovPxk1dlR3u piIoExVjPsnCT6apq8gb7ijxcBlVCKJVCf+U X-Received: by 2002:a17:906:8302:b0:70d:7465:495a with SMTP id j2-20020a170906830200b0070d7465495amr33049432ejx.115.1654801515591; Thu, 09 Jun 2022 12:05:15 -0700 (PDT) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com. [209.85.128.54]) by smtp.gmail.com with ESMTPSA id d9-20020a1709063ec900b006fec63e564bsm11200420ejj.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-f54.google.com with SMTP id i205-20020a1c3bd6000000b0039c6fd897b4so51815wma.4 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" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 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