Cleanup code related to OpenSSL <= 0.9.6 in fe/be-secure-openssl.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Cleanup code related to OpenSSL <= 0.9.6 in fe/be-secure-openssl.c
Дата
Msg-id 20190927032311.GB8485@paquier.xyz
обсуждение исходный текст
Ответы Re: Cleanup code related to OpenSSL <= 0.9.6 infe/be-secure-openssl.c  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Hi all,

While reviewing the area, I have bumped into the following bit in
fe-secure-openssl.c and be-secure-openssl.c:
-        /* OpenSSL 0.96 does not support X509_V_FLAG_CRL_CHECK */
-#ifdef X509_V_FLAG_CRL_CHECK
[...  stuff ...]

I think that this did not get removed because of the incorrect version
number in the comment, which should have been 0.9.6 from the start.

Anyway, let's clean up this code as per the attached.  This set of
flags indeed exists since 0.9.7.  Any thoughts or objections?
--
Michael

Вложения

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

Предыдущее
От: Tatsuro Yamada
Дата:
Сообщение: Re: tab complete for explain SETTINGS
Следующее
От: Paul Guo
Дата:
Сообщение: Re: Two pg_rewind patches (auto generate recovery conf and ensureclean shutdown)