]> granicus.if.org Git - postgresql/commit
Make detection of SSL_CTX_set_min_proto_version more portable
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 20 Nov 2018 21:59:36 +0000 (22:59 +0100)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 20 Nov 2018 21:59:36 +0000 (22:59 +0100)
commitea8bc349bd1d92a882d636b535723b36366d9fbe
tree038a709c53ebc65e2685379257b201a3f95ebc65
parente73e67c719593c1c16139cc6c516d8379f22f182
Make detection of SSL_CTX_set_min_proto_version more portable

As already explained in configure.in, using the OpenSSL version number
to detect presence of functions doesn't work, because LibreSSL reports
incompatible version numbers.  Fortunately, the functions we need here
are actually macros, so we can just test for them directly.
src/backend/libpq/be-secure-openssl.c