Skip to content

Commit c83d1fb

Browse files
committed
Fix some more regression tests (missed these because they're only
run when built with --with-openssl).
1 parent 8476f05 commit c83d1fb

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

contrib/pgcrypto/expected/3des.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- 3DES cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46
-- test vector from somewhere
57
SELECT encode(encrypt(
68
decode('80 00 00 00 00 00 00 00', 'hex'),

contrib/pgcrypto/expected/cast5.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- Cast5 cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46
-- test vectors from RFC2144
57
-- 128 bit key
68
SELECT encode(encrypt(

contrib/pgcrypto/expected/des.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- DES cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46
-- no official test vectors atm
57
-- from blowfish.sql
68
SELECT encode(encrypt(

contrib/pgcrypto/sql/3des.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- 3DES cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46

57
-- test vector from somewhere
68
SELECT encode(encrypt(

contrib/pgcrypto/sql/cast5.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- Cast5 cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46

57
-- test vectors from RFC2144
68

contrib/pgcrypto/sql/des.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- DES cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46

57
-- no official test vectors atm
68

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy