Re: pgcrypto compilation error due to stack-allocated EVP_CIPHER_CTX

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgcrypto compilation error due to stack-allocated EVP_CIPHER_CTX
Дата
Msg-id CAB7nPqTbVOy7_Wuw8uD62fWp1RGHN7fDqkRg8s5jLHRAjGMvyw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgcrypto compilation error due to stack-allocated EVP_CIPHER_CTX  (Asif Naeem <anaeem.it@gmail.com>)
Ответы Re: pgcrypto compilation error due to stack-allocated EVP_CIPHER_CTX  (Asif Naeem <anaeem.it@gmail.com>)
Список pgsql-hackers
On Tue, Dec 6, 2016 at 9:31 PM, Asif Naeem <anaeem.it@gmail.com> wrote:
> Thank you for v2 patch, I would like to comment on it. It seems that you
> have used function EVP_CIPHER_CTX_reset in the patch that was introduced in
> OpenSSL 1.1.0, older library version might not work now, is it intentional
> change ?.

I thought I tested that... But yes, that would not compile when linked
with 1.0.2 or older. Using EVP_CIPHER_CTX_cleanup() is safe instead as
that's available down to 0.9.8.
--
Michael

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: PSQL commands: \quit_if, \quit_unless
Следующее
От: Rahila Syed
Дата:
Сообщение: Re: Assignment of valid collation for SET operations on queries with UNKNOWN types.