pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgcrypto: Remove explicit hex encoding/decoding from tests
Date: Wed, 08 Dec 2021 05:13:07 +0000
Message-ID: <E1mupGN-0002j8-Fl@gemulon.postgresql.org> (raw)

pgcrypto: Remove explicit hex encoding/decoding from tests

This was from before the hex format was available in bytea.  Now we
can remove the extra explicit encoding/decoding calls and rely on the
default output format.

Discussion: https://www.postgresql.org/message-id/flat/17dcb4f7-7ac1-e2b6-d5f7-2dfba06cd9ee%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/814e1d9ff7a853b16a544a244bfa92e8388be248

Modified Files
--------------
contrib/pgcrypto/expected/3des.out               |  74 ++++----
contrib/pgcrypto/expected/blowfish.out           | 221 ++++++++++-------------
contrib/pgcrypto/expected/blowfish_1.out         |  85 +++------
contrib/pgcrypto/expected/cast5.out              |  87 ++++-----
contrib/pgcrypto/expected/cast5_1.out            |  35 +---
contrib/pgcrypto/expected/des.out                |  61 +++----
contrib/pgcrypto/expected/des_1.out              |  21 +--
contrib/pgcrypto/expected/hmac-md5.out           |  86 ++++-----
contrib/pgcrypto/expected/hmac-sha1.out          |  86 ++++-----
contrib/pgcrypto/expected/init.out               |  15 --
contrib/pgcrypto/expected/md5.out                |  56 +++---
contrib/pgcrypto/expected/pgp-armor.out          |  30 ++-
contrib/pgcrypto/expected/pgp-decrypt.out        |  56 +++---
contrib/pgcrypto/expected/pgp-decrypt_1.out      |  56 +++---
contrib/pgcrypto/expected/pgp-encrypt.out        |  30 ++-
contrib/pgcrypto/expected/pgp-pubkey-encrypt.out |  10 +-
contrib/pgcrypto/expected/rijndael.out           | 157 ++++++++--------
contrib/pgcrypto/expected/sha1.out               |  56 +++---
contrib/pgcrypto/expected/sha2.out               | 176 +++++++++---------
contrib/pgcrypto/sql/3des.sql                    |  28 ++-
contrib/pgcrypto/sql/blowfish.sql                |  91 +++-------
contrib/pgcrypto/sql/cast5.sql                   |  35 +---
contrib/pgcrypto/sql/des.sql                     |  21 +--
contrib/pgcrypto/sql/hmac-md5.sql                |  44 ++---
contrib/pgcrypto/sql/hmac-sha1.sql               |  44 ++---
contrib/pgcrypto/sql/init.sql                    |   7 -
contrib/pgcrypto/sql/md5.sql                     |  14 +-
contrib/pgcrypto/sql/pgp-armor.sql               |  14 +-
contrib/pgcrypto/sql/pgp-decrypt.sql             |  26 +--
contrib/pgcrypto/sql/pgp-encrypt.sql             |  14 +-
contrib/pgcrypto/sql/pgp-pubkey-encrypt.sql      |   6 +-
contrib/pgcrypto/sql/rijndael.sql                |  75 ++++----
contrib/pgcrypto/sql/sha1.sql                    |  14 +-
contrib/pgcrypto/sql/sha2.sql                    |  44 ++---
34 files changed, 820 insertions(+), 1055 deletions(-)



Message-ID: <E1mupGN-0002j8-Fl@gemulon.postgresql.org>
Permalink:  ../E1mupGN-0002j8-Fl@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mupGN-0002j8-Fl@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: peter@eisentraut.org
  Subject: Re: pgsql: pgcrypto: Remove explicit hex encoding/decoding from tests
  In-Reply-To: <E1mupGN-0002j8-Fl@gemulon.postgresql.org>
  References: <E1mupGN-0002j8-Fl@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