Fix compilation with older OpenSSL versions
Peter Eisentraut <peter@eisentraut.org>
Fix compilation with older OpenSSL versions Some older OpenSSL versions (0.9.8 branch) define TLS*_VERSION macros but not the corresponding SSL_OP_NO_* macro, which causes the code for handling ssl_min_protocol_version/ssl_max_protocol_version to fail to compile. To fix, add more #ifdefs and error handling. Reported-by: Victor Wagner <vitus@wagner.pp.ru> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/20190924101859.09383b4f%40fafnir.local.vm
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/be-secure-openssl.c | modified | +46 −2 |
Discussion
- PostgreSQL12 and older versions of OpenSSL 20 messages · 2019-09-24 → 2019-09-29