diff options
author | Neil Conway <neilc@samurai.com> | 2005-03-13 23:45:56 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-03-13 23:45:56 +0000 |
commit | acb42e9cb91be1117f10662e4f0a1c51d5d55469 (patch) | |
tree | 15e5409dff39ab0d37f5eddf3d499f295d20c97e /src/tutorial/complex.c | |
parent | 638eb4938c49c3376f9dfbd95f1c1f44f3808b4d (diff) |
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/complex.c')
0 files changed, 0 insertions, 0 deletions