diff options
author | Neil Conway <neilc@samurai.com> | 2005-03-12 06:55:14 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-03-12 06:55:14 +0000 |
commit | 2450224e6bd10563188985a26d54c2c3d091a223 (patch) | |
tree | 971fb7fe17a7aad692f169432e2f8aca1f24861a /src/backend/utils/adt/arrayfuncs.c | |
parent | 989a17a68c5dc1784f1be3876feba8cf81c4fed4 (diff) | |
download | postgresql-2450224e6bd10563188985a26d54c2c3d091a223.tar.gz postgresql-2450224e6bd10563188985a26d54c2c3d091a223.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/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions