1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Fix initialization bug in pgcrypto openssl code. Marko Kreen

This commit is contained in:
Tom Lane
2005-07-05 18:15:36 +00:00
parent 7e33fae3c1
commit 576ac4b8c9
3 changed files with 7 additions and 7 deletions

View File

@ -22,5 +22,5 @@ select decrypt(encrypt('foo', '0123456', '3des'), '0123456', '3des');
-- iv
select encode(encrypt_iv('foo', '0123456', 'abcd', '3des'), 'hex');
select decrypt_iv(decode('df27c264fb24ed7a', 'hex'), '0123456', 'abcd', '3des');
select decrypt_iv(decode('50735067b073bb93', 'hex'), '0123456', 'abcd', '3des');