Fix some more regression tests (missed these because they're only

run when built with --with-openssl).
REL8_5_ALPHA1_BRANCH
Tom Lane 16 years ago
parent 8476f055e0
commit c83d1fb155
  1. 2
      contrib/pgcrypto/expected/3des.out
  2. 2
      contrib/pgcrypto/expected/cast5.out
  3. 2
      contrib/pgcrypto/expected/des.out
  4. 2
      contrib/pgcrypto/sql/3des.sql
  5. 2
      contrib/pgcrypto/sql/cast5.sql
  6. 2
      contrib/pgcrypto/sql/des.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(
decode('80 00 00 00 00 00 00 00', 'hex'),

@ -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(

@ -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(

@ -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(

@ -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

@ -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

Loading…
Cancel
Save