diff options
author | Tom Lane | 2009-08-04 20:10:00 +0000 |
---|---|---|
committer | Tom Lane | 2009-08-04 20:10:00 +0000 |
commit | 27bd3c31aaf5c4635d82a4146b5150e615561172 (patch) | |
tree | f7a222ebccf1219011f7e93c44cd6c6974b255f2 | |
parent | 0080a16d4665e37115bfee17da19bf7f34cf26bd (diff) |
Fix some more regression tests (missed these because they're only
run when built with --with-openssl).
-rw-r--r-- | contrib/pgcrypto/expected/3des.out | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/expected/cast5.out | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/expected/des.out | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/sql/3des.sql | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/sql/cast5.sql | 2 | ||||
-rw-r--r-- | contrib/pgcrypto/sql/des.sql | 2 |
6 files changed, 12 insertions, 0 deletions
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 |