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 79075C61DF7 for ; Fri, 24 Nov 2023 00:09:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229838AbjKWXmq (ORCPT ); Thu, 23 Nov 2023 18:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjKWXmo (ORCPT ); Thu, 23 Nov 2023 18:42:44 -0500 Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED93ED54; Thu, 23 Nov 2023 15:42:50 -0800 (PST) Received: from [172.16.35.9] (cpe8c6a8d4d360a-cm8c6a8d4d3608.cpe.net.cable.rogers.com [99.253.151.152]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.16.1) with ESMTPSA id 3ANNgRFJ003137 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Thu, 23 Nov 2023 18:42:27 -0500 (EST) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1700782949; bh=hsFZNRGRNb3gPeRURwxKxDmD5dc9IoFXqMPf63EGl/c=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=LJY9STRPwlkzmTIbargG+dyhp+YYhuQsUb4dYydA4pe4XTZHbxgOPt77nFhMu3xw+ faDxiuHKnkLWX8H+j8xPM0JiYoyqcQnRSlooH8Dzjo5jQJkfvx9iYwQl33jZ/6aJGk u0SL8gmaJzVXA1vbPlwx0sTzSDH7lB2bIgSdtHBZSJBHD/H6+lbHdS4gvddE1pbmFe OwZVgu6pjIDy87x69ChaCjNwF26UHvtVNgOa8cDDGiiae01S73skJ1e1Y3XD1TEADa ghPMvURd8FEzOg//eVvdah3jdboMkccp4SFLNdNrrwcfL+hzSffCvk1N46WjM9PpPM dMP/Q5VWJGrRg== Message-ID: <7fce272f-65f5-9aa8-5f28-aeecb98a8ab4@blastwave.org> Date: Thu, 23 Nov 2023 18:42:27 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: =?UTF-8?Q?Re=3a_Fwd=3a_sign-file=2ec=3a149=3a17=3a_warning=3a_impli?= =?UTF-8?Q?cit_declaration_of_function_=e2=80=98ENGINE=5fload=5fbuiltin=5fen?= =?UTF-8?B?Z2luZXPigJk=?= Content-Language: en-CA To: James Bottomley , Bagas Sanjaya , Linux Kernel Mailing List , Linux Kernel Build System , Linux Kernel Keyrings Cc: David Howells , David Woodhouse , Masahiro Yamada References: <1fca50c4-6d7b-4c9b-bcea-4df17e2c2e7e@gmail.com> <164a4d4434e77ba1b65624a081799a073a3aced7.camel@HansenPartnership.com> From: Dennis Clarke Organization: GENUNIX In-Reply-To: <164a4d4434e77ba1b65624a081799a073a3aced7.camel@HansenPartnership.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 3ANNgRFJ003137 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/23/23 09:53, James Bottomley wrote: > On Fri, 2023-11-17 at 00:34 -0500, Dennis Clarke wrote: >> On 11/16/23 18:41, Bagas Sanjaya wrote: >>> Hi, >>> >>> I notice a bug report on Bugzilla [1]. Quoting from it: >>> >> >>>> Not related to >>>> https://bugzilla.kernel.org/show_bug.cgi?id=215750 but I *feel* >>>> that this code needs a hug. >>> >>> See Bugzilla for the full thread. >>> >>> AFAIK, this looks like a bug when the kernel is compiled against >>> custom (non-system) version of OpenSSL library. >>> >> >> I do not know what you could possibly mean. There is nothing "custom" >> about OpenSSL. For that matter the gcc compiler I am using was also >> built by me. Works fine. The sign-file.c source compiles fine. > > This has all the hallmarks of an openssl compiled without engine > support; is the symbol OPENSSL_NO_ENGINE set? And which distro did you > get this library from? > > James > I am looking into this. The code will likely age into some deprecated calls and I think that I may be way out on the edge here. However the code will need a pile of ifndef stuff and then call the correct future looking calls for OpenSSL 3.x etc etc etc ... the usual stuff Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken