Fix pgp_pub_decrypt() so it works for secret keys with passwords.
Per report from Keith Fiske.
Marko Kreen
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/a184461aa750ca7d63c126774d2d24ec207645b5
Modified Files
--------------
contrib/pgcrypto/expected/pgp-pubkey-decrypt.out | 76 ++++++++++++++++++++++
contrib/pgcrypto/pgp-pubkey.c | 8 +-
contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql | 73 +++++++++++++++++++++
3 files changed, 153 insertions(+), 4 deletions(-)