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

Поиск
Список
Период
Сортировка
От neilc@svr1.postgresql.org (Neil Conway)
Тема pgsql: Some builds (depends on crypto engine support?) of OpenSSL 0.9.7x
Дата
Msg-id 20050312065431.65525565F1@svr1.postgresql.org
обсуждение исходный текст
Список 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:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/contrib/pgcrypto:
        openssl.c (r1.13 -> r1.13.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgcrypto/openssl.c.diff?r1=1.13&r2=1.13.4.1)

В списке pgsql-committers по дате отправления:

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Some builds (depends on crypto engine support?) of OpenSSL 0.9.7x
Следующее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Some builds (depends on crypto engine support?) of OpenSSL 0.9.7x