Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc83d1fb

Browse files
committed
Fix some more regression tests (missed these because they're only
run when built with --with-openssl).
1 parent8476f05 commitc83d1fb

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)

[8]ページ先頭

©2009-2025 Movatter.jp