Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp916806imi; Thu, 21 Jul 2022 13:33:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tSeGfbDy9p85WhCw9txaMfJBPG86KR/UgB+KPvrp8+1PUt9AribZRjVi0IqEeAfBUmjXYr X-Received: by 2002:a05:6402:1cae:b0:43b:a3d8:854a with SMTP id cz14-20020a0564021cae00b0043ba3d8854amr126764edb.276.1658435620142; Thu, 21 Jul 2022 13:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658435620; cv=none; d=google.com; s=arc-20160816; b=jTMqPkgyS/3+IIj7y/6AwS0DM46MmAAKPX+f4ZDYyxeqr1BqcXvzFj8cTkirv5ccFW 8ggJxxvYrtK9BpMvGkSeWXNp1hCyo3vMa5W9JqyjpRY+OR9VB+WkV4tU/QNP+7AiycSS r2zeqBe7VQoSZ1BUqbC1jJcbL/Xc15dXp38r0Sys/NKjPixWi7r889kUMnBBqd81O+aM Ddrnan230GtktM7moNCnakd2HrCqWGXZZOJowjv+TMB/sDgR7QZ2P8IJDfYWcr6txqxs /DCbbqyh2SdCp7YLEbA2osQUoQHfbuYkYcsDHmR4Ja4F/4pDqVeceZKJ0oSrnuJ4GJBe m4bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ig7iUf1I1gC40tjKB4tCOFVDk7CQtMLncv3mNcuWips=; b=NTyjTnHqernwiX/D1YvCFXL0XXHfCo3/ps1w+1QHiVDWkVQV+LY+pdvEmocbqz7Nut JxsqzgLVYd7pqb5CCBkX/Bcnp/jTfUJyOHkeHVyp6xMhflMFy3AL21HA/Kx1KClIQj36 QqepFofsveUXdbwUtM1cBtazZZMUAxYMdkueq6g8ZISPd5IGH8K4YtLXS4ADFquWG7oH XKC/5OEJ9+jOQYBncvWx7uTQRsajWNp/0LhNrh3fEwrTPZT6yQ8/CBtb94JK5c8V6sHn 7/rg4QWpFZ6UP/OYZlRPMf+DcKav9EmBp8KeMX3NCwqdEe0tcCbX7FOMUAUX4AKLtU3I Se3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SpvBvvNW; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a170906828900b0072a6e7a054dsi3070136ejx.975.2022.07.21.13.32.51; Thu, 21 Jul 2022 13:33:40 -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=@intel.com header.s=Intel header.b=SpvBvvNW; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229472AbiGUUOk (ORCPT + 99 others); Thu, 21 Jul 2022 16:14:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiGUUOj (ORCPT ); Thu, 21 Jul 2022 16:14:39 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34CD380508; Thu, 21 Jul 2022 13:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658434478; x=1689970478; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=rQUBthPET6q5FGLNvCZ/F6J4F5U3JKEDaMppPwXUMck=; b=SpvBvvNWn0UJJtgT90AqZd77kvNsZ1YYO1SCH2xZ3xoSOOhk4SIE79j0 GvIT1MuT5JOYXVdjOl7iIlJ+p0xboLy35OeQbgdMf2iyqn+StTn1RyCtA oIsW0zTpZslPgrKHjX0IH9+48oM9kfgce5gYPYdi4vlhnIuLN+TM2igIw LpYKj/Lf6kIFmQRsT6LLtwr9J41IH+SnM9HX1si8E7RBg/ysNblqEZvhv YOTGkDoPz8wUYIwzKgRSwOh8yY4K8gTJqtz3J2Ry5vvrZldfV0UbG6X2L f7MHX3sI5qD5G7G2J1WardhKV0owMVhiT9NQk2RA1+Kw6qADsURiIM7V2 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10415"; a="270198600" X-IronPort-AV: E=Sophos;i="5.93,183,1654585200"; d="scan'208";a="270198600" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 13:14:37 -0700 X-IronPort-AV: E=Sophos;i="5.93,183,1654585200"; d="scan'208";a="573893626" Received: from vasantgx-mobl.amr.corp.intel.com (HELO [10.212.244.191]) ([10.212.244.191]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 13:14:37 -0700 Message-ID: Date: Thu, 21 Jul 2022 13:14:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] selftests/sgx: Ignore OpenSSL 3.0 deprecated functions warning Content-Language: en-US To: Kristen Carlson Accardi , linux-kernel@vger.kernel.org, Jarkko Sakkinen , Dave Hansen , Shuah Khan Cc: linux-sgx@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20220721194041.43970-1-kristen@linux.intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE 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 7/21/22 13:08, Kristen Carlson Accardi wrote: > On Thu, 2022-07-21 at 13:02 -0700, Dave Hansen wrote: >> On 7/21/22 12:40, Kristen Carlson Accardi wrote: >>> OpenSSL 3.0 deprecates some of the functions used in the SGX >>> selftests, causing build errors on new distros. For now ignore >>> the warnings until support for the functions is no longer >>> available. >> Are there some better functions we should be moving to? > I looked into this actually as my first choice, but the problem I had > was that the recommended new functions weren't available on other > OpenSSL libraries, and we'd have to add compatibility macros and stuff, > so it seemed to me that the less complicated thing to do was wait till > OpenSSL 1 was just not widely deployed anymore. This strategy is also > being used in other scripts in the kernel. Sounds sane to me. Thanks for the explanation.