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

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Cleanup code related to OpenSSL <= 0.9.6 in fe/be-secure-openssl.c
Date: 2019-09-27 13:46:09
Message-ID: a0a6b010-13b7-fe1a-7e3c-aabe6fc11c64@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-09-27 05:23, Michael Paquier wrote:
> 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?

Yes, it seems OK to clean this up in master.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2019-09-27 13:50:57 Re: PostgreSQL12 and older versions of OpenSSL
Previous Message Alvaro Herrera 2019-09-27 13:22:10 Re: Attempt to consolidate reading of XLOG page