]> granicus.if.org Git - postgresql/commit
Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Jan 2012 04:09:16 +0000 (23:09 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Jan 2012 04:09:16 +0000 (23:09 -0500)
commita8b4b84360e5ea145d12d372305b50f6774b0366
tree6881b2ba6f18d44a611053b39ef150c0100a295d
parent0816fad6eebddb8f1f0e21635e46625815d690b9
Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv().

Due to oversights, the encrypt_iv() and decrypt_iv() functions failed to
report certain types of invalid-input errors, and would instead return
random garbage values.

Marko Kreen, per report from Stefan Kaltenbrunner
contrib/pgcrypto/pgcrypto.c