diff options
author | Neil Conway <neilc@samurai.com> | 2005-03-12 06:53:54 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-03-12 06:53:54 +0000 |
commit | 919594f3e23b1c8bb5e70a10d255d233bb237e11 (patch) | |
tree | c2a8cc6173ea053805d11f38e6102872b5911afb /src/backend/commands/dbcommands.c | |
parent | 852ef58da93343005a57381d24ea28f14dfa2b6d (diff) | |
download | postgresql-919594f3e23b1c8bb5e70a10d255d233bb237e11.tar.gz postgresql-919594f3e23b1c8bb5e70a10d255d233bb237e11.zip |
Some builds (depends on crypto engine support?) of OpenSSL
0.9.7x have EVP_DigestFinal function which which clears all of
EVP_MD_CTX. This makes pgcrypto crash in functions which
re-use one digest context several times: hmac() and crypt()
with md5 algorithm.
Following patch fixes it by carring the digest info around
EVP_DigestFinal and re-initializing cipher.
Marko Kreen.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions