From nobody Sun Feb 8 23:57:41 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+88624+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+88624+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1649416594; cv=none; d=zohomail.com; s=zohoarc; b=MsOO5FUtT+eUTgNkLZJBpic6zqI1tikEBh45jZITdegjORt6I/5wFYek+o0bd+jkqowHW5LjCGSZdaO/jU/86w9YSBa+5XzFbH4T96tQp4ODpLEGTsXzcV7FzmR6S8c68hL7aa+OXd8ktpaxX1GJjW7iUODnJj7aNHvXxBmzcBo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649416594; 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=21UzKJLVpTJHH7/S6YMuJGw0d1jMv+e2PXZcMzT/6DM=; b=CoFK9HSsFshtJcK9ntX9Djj4k7g6RQMQNW2YuIT6KCqn/2s/MYzZEbby/GqwIB5+n0fni9qXShaGRPIUuD68flgU7/yZnNB1wrTfC8liVu4f9kKx7OnCB5XoxjHCZaeeOy719r0OfhxqtL+T1UE3Q0W8oxqutMPTXsQ/KIPwqpU= 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+88624+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 1649416594100640.8275424740905; Fri, 8 Apr 2022 04:16:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id debIYY1788612xuYRpR5syhw; Fri, 08 Apr 2022 04:16:33 -0700 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.web10.4511.1649416592791603934 for ; Fri, 08 Apr 2022 04:16:33 -0700 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-421-KPhBZWBtNlCa1DmaKRuBmA-1; Fri, 08 Apr 2022 07:16:28 -0400 X-MC-Unique: KPhBZWBtNlCa1DmaKRuBmA-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9CE0F3C01C15; Fri, 8 Apr 2022 11:16:27 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6D077C15D75; Fri, 8 Apr 2022 11:16:27 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id C5A2D1800989; 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 4/8] CryptoPkg/CrtLibSupport: add UINT_MAX Date: Fri, 8 Apr 2022 13:16:18 +0200 Message-Id: <20220408111622.3519517-5-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.85 on 10.11.54.8 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: aaMERpLGHAt9RgMCXP0HRqIcx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649416593; bh=Vf2jEqQGAYKn0oRO/dPdm3TKrcACgLQvnWe7qhMmtSA=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=pbp5iFhhaInJb0pj/oLRy71UawD38ldW1U5hg/Mpyecd9Tq3OJadiuI55jD0aJh3QW4 R1xj6WI8moI8/4JytJbUdBxbfWbdgErdTIouj8ZObP+9yVjgWdfTIpQxn4IW1IFD1Tq08 +KqQ1T6iuAg06mGYHxJKM3WRxoQr4TM848M= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649416594942100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Add define for UINT_MAX. 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 b1db70a269ff..aed21932278e 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -82,6 +82,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define INT_MIN (-INT_MAX-1) /* Minimum (signed) int value */ #define LONG_MAX 0X7FFFFFFFL /* max value for a long */ #define LONG_MIN (-LONG_MAX-1) /* min value for a long */ +#define UINT_MAX 0xFFFFFFFF /* Maximum unsigned int value */ #define ULONG_MAX 0xFFFFFFFF /* Maximum unsigned long value */ #define CHAR_BIT 8 /* Number of bits in a char */ =20 --=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 (#88624): https://edk2.groups.io/g/devel/message/88624 Mute This Topic: https://groups.io/mt/90333053/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-