pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix SSL tests on 32-bit Perl
Date: Thu, 21 Oct 2021 08:41:44 +0000
Message-ID: <E1mdTdw-0007kx-7o@gemulon.postgresql.org> (raw)

Fix SSL tests on 32-bit Perl

The certificate serial number generation was changed in b4c4a00ea to
use the current timestamp. The testharness must thus interrogate the
cert for the serialnumber using "openssl x509" which emits the serial
in hex format. Converting the serial to integer format to match whats
in pg_stat_ssl requires a 64-bit capable Perl. This adds a fallback
to checking for an integer when the tests with a 32-bit Perl.

Per failure on buildfarm member prairiedog.

Discussion: https://postgr.es/m/0D295F43-806D-4B3F-AB98-F941A19E0271@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c04342b1d3dd5b24f795f94874163be8e21710e

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)



Message-ID: <E1mdTdw-0007kx-7o@gemulon.postgresql.org>
Permalink:  ../E1mdTdw-0007kx-7o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mdTdw-0007kx-7o@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org
  Subject: Re: pgsql: Fix SSL tests on 32-bit Perl
  In-Reply-To: <E1mdTdw-0007kx-7o@gemulon.postgresql.org>
  References: <E1mdTdw-0007kx-7o@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox