Skip site navigation (1) Skip section navigation (2)

pgsql: Some builds (depends on crypto engine support?) of OpenSSL 0.9.7x

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Some builds (depends on crypto engine support?) of OpenSSL 0.9.7x
Date: 2005-03-13 23:46:27
Message-ID: 20050313234627.0BC9356757@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL7_2_STABLE

Modified Files:
--------------
    pgsql/contrib/pgcrypto:
        openssl.c (r1.10.2.1 -> r1.10.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgcrypto/openssl.c.diff?r1=1.10.2.1&r2=1.10.2.2)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-03-14 00:19:13
Subject: pgsql: Update comments for new encoding names.
Previous:From: Neil ConwayDate: 2005-03-13 23:45:56
Subject: pgsql: Some builds (depends on crypto engine support?) of OpenSSL 0.9.7x

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group