diff options
author | Neil Conway <neilc@samurai.com> | 2005-03-12 06:54:31 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-03-12 06:54:31 +0000 |
commit | 8806b09b822238d448f9bd4900307b101fccd2ff (patch) | |
tree | e1080ac09236a2bfb445b0f7d79792451000191f /src/tutorial/advanced.source | |
parent | bdcf632d623f4234d6067d30a004ea1b22ad7a30 (diff) | |
download | postgresql-8806b09b822238d448f9bd4900307b101fccd2ff.tar.gz postgresql-8806b09b822238d448f9bd4900307b101fccd2ff.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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions