From c83d1fb155624b8b0e51932f85f9a9e34a308408 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 4 Aug 2009 20:10:00 +0000 Subject: [PATCH] Fix some more regression tests (missed these because they're only run when built with --with-openssl). --- contrib/pgcrypto/expected/3des.out | 2 ++ contrib/pgcrypto/expected/cast5.out | 2 ++ contrib/pgcrypto/expected/des.out | 2 ++ contrib/pgcrypto/sql/3des.sql | 2 ++ contrib/pgcrypto/sql/cast5.sql | 2 ++ contrib/pgcrypto/sql/des.sql | 2 ++ 6 files changed, 12 insertions(+) diff --git a/contrib/pgcrypto/expected/3des.out b/contrib/pgcrypto/expected/3des.out index 3e6a88e8bf..8983a73b8a 100644 --- a/contrib/pgcrypto/expected/3des.out +++ b/contrib/pgcrypto/expected/3des.out @@ -1,6 +1,8 @@ -- -- 3DES cipher -- +-- ensure consistent test output regardless of the default bytea format +SET bytea_output TO escape; -- test vector from somewhere SELECT encode(encrypt( decode('80 00 00 00 00 00 00 00', 'hex'), diff --git a/contrib/pgcrypto/expected/cast5.out b/contrib/pgcrypto/expected/cast5.out index 4ca824e2f8..c1ecd9197f 100644 --- a/contrib/pgcrypto/expected/cast5.out +++ b/contrib/pgcrypto/expected/cast5.out @@ -1,6 +1,8 @@ -- -- Cast5 cipher -- +-- ensure consistent test output regardless of the default bytea format +SET bytea_output TO escape; -- test vectors from RFC2144 -- 128 bit key SELECT encode(encrypt( diff --git a/contrib/pgcrypto/expected/des.out b/contrib/pgcrypto/expected/des.out index 00513c4e6a..d0fd0041ca 100644 --- a/contrib/pgcrypto/expected/des.out +++ b/contrib/pgcrypto/expected/des.out @@ -1,6 +1,8 @@ -- -- DES cipher -- +-- ensure consistent test output regardless of the default bytea format +SET bytea_output TO escape; -- no official test vectors atm -- from blowfish.sql SELECT encode(encrypt( diff --git a/contrib/pgcrypto/sql/3des.sql b/contrib/pgcrypto/sql/3des.sql index 99b936fa14..274d7d81f6 100644 --- a/contrib/pgcrypto/sql/3des.sql +++ b/contrib/pgcrypto/sql/3des.sql @@ -1,6 +1,8 @@ -- -- 3DES cipher -- +-- ensure consistent test output regardless of the default bytea format +SET bytea_output TO escape; -- test vector from somewhere SELECT encode(encrypt( diff --git a/contrib/pgcrypto/sql/cast5.sql b/contrib/pgcrypto/sql/cast5.sql index 0761f34e75..599ee060fa 100644 --- a/contrib/pgcrypto/sql/cast5.sql +++ b/contrib/pgcrypto/sql/cast5.sql @@ -1,6 +1,8 @@ -- -- Cast5 cipher -- +-- ensure consistent test output regardless of the default bytea format +SET bytea_output TO escape; -- test vectors from RFC2144 diff --git a/contrib/pgcrypto/sql/des.sql b/contrib/pgcrypto/sql/des.sql index 179bd83ba9..0b3d339251 100644 --- a/contrib/pgcrypto/sql/des.sql +++ b/contrib/pgcrypto/sql/des.sql @@ -1,6 +1,8 @@ -- -- DES cipher -- +-- ensure consistent test output regardless of the default bytea format +SET bytea_output TO escape; -- no official test vectors atm -- 2.40.0