git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 852ef58) | patch
Some builds (depends on crypto engine support?) of OpenSSL
2005年3月12日 06:53:54 +0000 (06:53 +0000)
2005年3月12日 06:53:54 +0000 (06:53 +0000)
commit 919594f3e23b1c8bb5e70a10d255d233bb237e11
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.
contrib/pgcrypto/openssl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /