Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFeSb-0002oU-F6 for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Feb 2022 15:55:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nFeSZ-0001EF-9V for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Feb 2022 15:55:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFeSX-0001E5-P0 for pgsql-bugs@lists.postgresql.org; Thu, 03 Feb 2022 15:55:47 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFeSU-0006n9-Go for pgsql-bugs@lists.postgresql.org; Thu, 03 Feb 2022 15:55:44 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id EAB8E3202351; Thu, 3 Feb 2022 10:55:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 03 Feb 2022 10:55:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=n0QlEyQnNfq6ib 3wy+Uxx8iwp+rYuErgtOexuFGU6wk=; b=fBAgrefnnk4Y0MPuml19yVEiLiuj1d +j0uJtF6R9byW/xEjg9IokRN7Rl6eJCEUEeEOXZGL8SRbXn+Hv9uurZGSBMEMzD1 YjNGWWblMhZZJrcnSbn3BwISxM/39wBv9HAyNimKdqKbGL0V5hBt5Ps3Jg5Ix79m yr+RvTR6DHhsNkesj3AQf0yOrXFfbLiepWJyiXm0Vism0T2W8bJsbJGEdegUHsue DIeEklWFN3YY0XWocYfzO6HkO4P6PJQBz0lDqEJ4feD+bWFoFcupW1xdJ5T1wMFo XV1M9rL4vVf9vnlh2/cAdQKQxt/ozj4SBm2eaDD1AV7eXyXh7bCUZZfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=n0QlEyQnNfq6ib3wy+Uxx8iwp+rYuErgtOexuFGU6 wk=; b=Oc49nU6WPVoI2O2t3tDY6mST0KkeR7vfo8CB5kYr4+1Y3hMDNEq1RZ882 sGEaXWm+uoffSYBSXrunNQB1kv7MZVmzuvOg3q6xNnrqFvpJ/YmFmlzxTP0CNANg btQ9iWE/UE3DoOSnotdzPT64FFhe0x4UMZpAgtaW00Fw+xkA7S4b5ZPW89G+YTrp 8rlM4QPT7iaYoJYMplEisnGFBSHIKl5+3GzIocQTZtBEnWv1X1VO27Quueu7fsdi iylzbfu4BbT3Yv3FnzaI8dn6UaheDFnGnN8c0gB5LvGFHMHPAOI5Ef1KeGDCta0x BMGNoZ5zeNf+0VOZP2dOip8JhCNWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeejgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpeeftddthfelhfefheehkeejgeehfeehvdfhgfdtieevudegveekleefgfdv geehvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 3 Feb 2022 10:55:38 -0500 (EST) Date: Thu, 03 Feb 2022 07:55:36 -0800 From: Andres Freund To: Daniel Gustafsson , Tom Lane CC: Thomas Munro , byavuz81@gmail.com, PostgreSQL mailing lists , Heikki Linnakangas , Michael Paquier Subject: =?US-ASCII?Q?Re=3A_BUG_=2317391=3A_While_using?= =?US-ASCII?Q?_--with-ssl=3Dopenssl_and_PG=5F?= =?US-ASCII?Q?TEST=5FEXTRA=3D=27ssl=27_options=2C_S?= =?US-ASCII?Q?SL_tests_fail_on_OpenBSD_7=2E0?= User-Agent: K-9 Mail for Android In-Reply-To: References: <17391-304f81bcf724b58b@postgresql.org> <20220202213900.h7paogmcge2rtls6@alap3.anarazel.de> <131329.1643851912@sss.pgh.pa.us> <203742.1643866877@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi,=20 On February 3, 2022 7:48:40 AM PST, Daniel Gustafsson = wrote: >Pouring over SSL test logs I was again red-herringed by the warning we ge= t for >using hex() on a large input value, before I remembered that it's benign = and >emerged from the rabbithole: > > Hexadecimal number > 0xffffffff non-portable at t/001_ssltests=2Epl lin= e 508=2E > >We could suppress it by turning off warnings for that line, since we know= it >will work due to the 64-bit int test a few lines before: > >@@ -505,6 +505,7 @@ if ($? =3D=3D 0) > { > $serialno =3D~ s/^serial=3D//; > $serialno =3D~ s/\s+//g; >+ local $SIG{'__WARN__'} =3D sub { }; > $serialno =3D hex($serialno); > } > else > >Turning of warnings might be a bridge too far for some though? Thoughts? Can't we just chop serialno into two 32bit numbers and call hex separately= ? Seems about as hard as adding a comment explaining what the warn bit is a= bout=2E=2E=2E Andres --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E