Inconsistent error handling in the openssl init code - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Inconsistent error handling in the openssl init code
Date
Msg-id E1CDFE88-4A96-4A74-BA3F-473BBC0E9611@yesql.se
Whole thread Raw
Responses Re: Inconsistent error handling in the openssl init code  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
The errorhandling in be_tls_init(), and functions called from it, set the
appropriate elevel by the isServerStart.  ssl_protocol_version_to_openssl() is
however erroring out unconditionally with ERROR on invalid TLS versions.  The
attached patch adds isServerStart handling to the TLS version handling as well,
to make be_tls_init() consistent in its errorhandling.

cheers ./daniel


Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Fix optimization of foreign-key on update actions
Next
From: Peter Eisentraut
Date:
Subject: Re: insensitive collations