From nobody Mon Feb 9 03:47:47 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+88623+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+88623+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1649416593; cv=none; d=zohomail.com; s=zohoarc; b=XRtbNTXNltIAZ24OJ7Yxpi2U9DvygVE4DIKyTANsProNUJ2Zp7CgORWKvKYPlGhD2nXAqv7IYXgim175OLhwMbg+tYvz2n+OvDitcEB2cgzOkyBHcdESy1nyD2oa9Kn1RLK5Tu849S9LhvJJv8ZfyDqPDh+Ks5LNfz+5fQBuPXc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649416593; 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=RI9/Sqd7SfFXrU9+9WtmM9+bDgIHkdXH4roCdrr76FY=; b=UDj2P3Vr8upKMvdSH10vKtJglAkfpEg6m/WdsLblkOEjpqZWRTpLhlWuFzbI+Qw8GXb0+ybgLqEPa212biOrIP1qyW46CtXuCm+VP3y3/tGCfkznfbjGnwJct9by7PsevrrBCL30rDUj3edP0sp+G2snR8r+DOXrldcQ4/OHKt8= 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+88623+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 1649416593099916.662626078042; Fri, 8 Apr 2022 04:16:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bZqdYY1788612xkhvQtNIbG2; Fri, 08 Apr 2022 04:16:32 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web09.4516.1649416591594403703 for ; Fri, 08 Apr 2022 04:16:32 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-596-igwgQQOlN3Cpqeltk2IiBA-1; Fri, 08 Apr 2022 07:16:26 -0400 X-MC-Unique: igwgQQOlN3Cpqeltk2IiBA-1 X-Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 02D1680346F; Fri, 8 Apr 2022 11:16:26 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C6A9B407E1C5; Fri, 8 Apr 2022 11:16:25 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id BEEF8180062D; Fri, 8 Apr 2022 13:16:22 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Oliver Steffen , Jiewen Yao , Guomin Jiang , Jian J Wang , Xiaoyu Lu , Pawel Polawski , Gerd Hoffmann Subject: [edk2-devel] [PATCH v2 2/8] CryptoPkg/CrtLibSupport: add strstr() Date: Fri, 8 Apr 2022 13:16:16 +0200 Message-Id: <20220408111622.3519517-3-kraxel@redhat.com> In-Reply-To: <20220408111622.3519517-1-kraxel@redhat.com> References: <20220408111622.3519517-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 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: 4kaSCL8Zz69Pg2jHavmeiLPkx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649416592; bh=lPVtw1H/FRg4AHR85+bGq/WOIVc16ND4pwJ/jQy6PK4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=vh4hyhu5k9PDQWVqe5awZFR2N5hor0uWu1iuvKLG5G4chjlviSo470f+Z9qqWmZrYzp Rvrfnv/+jAZy4+gFGwetCQZxqzZt86P8hyRTtexF4kRKgeAF/yrGn+n+vCy4TthXP+at0 5nGv+Dv6ryhNVZVbC5vLqjwi7sft7E51Ykk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649416594942100004 Content-Type: text/plain; charset="utf-8"; x-default="true" 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 75172b920b67..a47befbb907e 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.35.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 (#88623): https://edk2.groups.io/g/devel/message/88623 Mute This Topic: https://groups.io/mt/90333052/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-