From nobody Mon Feb 9 11:06:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85745+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85745+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1642416768; cv=none; d=zohomail.com; s=zohoarc; b=dRAwmfqVok4stKmMF67slUtHgt4M20rFQwzoaZuG/3h1b0D5rm9GyYAvgUWE1JcRqNjl+cmm72gKQfsoK9dQyugAfbKpaRSAbmYTbKz+xg8ya87yis4mxW8YMSDYY0wHBlc2XQ9gUnuZ3ttK11mncDZtGdf4FjVKs3KNNw8OUgo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642416768; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=DE6Q8L5aWN2jUJ57rAgZuk1c9s5U/w7GGvPgWciz0Gk=; b=Jrclh+HlcyD/j9ejbe6Wruvax0uIY696UZ5fwEvdk1dKt+rxP1Ey8KgwAvnb1cy1RuvDhamhOqr9+yxHuWZdJeJ6gBSZczC5nfCUY2vR0uExNCjDq56MMJEk/0IxKGpyVQP5mHUryNju6/LSt2UPL6bFjn5pT6s3oGWLF9lP9SM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85745+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1642416768258352.43378106052455; Mon, 17 Jan 2022 02:52:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id MgsHYY1788612xFxd39ORRR0; Mon, 17 Jan 2022 02:52:47 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web09.9729.1642416767214211488 for ; Mon, 17 Jan 2022 02:52:47 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-249-5fdVd4ICNSW01mk1lMKDgw-1; Mon, 17 Jan 2022 05:52:43 -0500 X-MC-Unique: 5fdVd4ICNSW01mk1lMKDgw-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 34434801ADB; Mon, 17 Jan 2022 10:52:42 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F1A5E73170; Mon, 17 Jan 2022 10:52:37 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 42F301800614; Mon, 17 Jan 2022 11:52:34 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Xiaoyu Lu , Pawel Polawski , Guomin Jiang , Jiewen Yao , Jian J Wang , Gerd Hoffmann Subject: [edk2-devel] [PATCH 2/8] CryptoPkg/CrtLibSupport: add strstr() Date: Mon, 17 Jan 2022 11:52:28 +0100 Message-Id: <20220117105234.1981719-3-kraxel@redhat.com> In-Reply-To: <20220117105234.1981719-1-kraxel@redhat.com> References: <20220117105234.1981719-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: vEmIeL6ZbeCNRHQnwlhQV9nZx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1642416767; bh=d2xTg7DabqAw9mS+ECqJwi5zAzHllZ5PlZ0YfGs4zB8=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=pJgKY1iWFMmQ2Sb9YzwzqsP2v2Ce7q1AuhMlJl4ClPvMnPz+dFTtfbLMod7seq+L/uh TroBhtyLPpNwqRx7tdx3U4zBDl4KA+0VIXYQVyV8yYvITYCl+zNvnDfIImYnxR69Cy7aY rAPmyVHgeAsG9ELUVRLqa+Dw1DwOtG3ep70= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1642416770620100001 Content-Type: text/plain; charset="utf-8" Add #define for strstr(). Will be needed by openssl 3.0. Signed-off-by: Gerd Hoffmann --- CryptoPkg/Library/Include/CrtLibSupport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/= Include/CrtLibSupport.h index d257dca8fa9b..8907f1f13788 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -405,6 +405,7 @@ inet_pton ( #define strcat(strDest, strSource) AsciiStrCatS(strDest,MAX_STRIN= G_SIZE,strSource) #define strncmp(string1, string2, count) (int)(AsciiStrnCmp(string1,str= ing2,(UINTN)(count))) #define strcasecmp(str1, str2) (int)AsciiStriCmp(str1,str2) +#define strstr(s1, s2) AsciiStrStr(s1,s2) #define sprintf(buf, ...) AsciiSPrint(buf,MAX_STRING_SIZ= E,__VA_ARGS__) #define localtime(timer) NULL #define assert(expression) --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#85745): https://edk2.groups.io/g/devel/message/85745 Mute This Topic: https://groups.io/mt/88481527/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-