Commit Graph

121 Commits (d112ea46813277351b577ee586c6e84e7de8ab27)

Author SHA1 Message Date
Peter Eisentraut d112ea4681 libpq: Remove a gettext marker 2 years ago
Heikki Linnakangas fb5718f35f Remove option to fall back from direct to postgres SSL negotiation 2 years ago
Daniel Gustafsson c34d7df6ad Fix comment regarding LibreSSL availability 2 years ago
Heikki Linnakangas 5bcbe9813b Fix compilation on OpenSSL 1.0.2 and LibreSSL 2 years ago
Heikki Linnakangas 17a834a04d Reject SSL connection if ALPN is used but there's no common protocol 2 years ago
Heikki Linnakangas 03a0e0d4bb libpq: Enforce ALPN in direct SSL connections 2 years ago
Heikki Linnakangas 3c18409265 libpq: If ALPN is not used, make PQsslAttribute(conn, "alpn") == "" 2 years ago
Daniel Gustafsson 950d4a2cb1 Fix typos and duplicate words 2 years ago
Heikki Linnakangas baa82b78dc libpq error message fixes 2 years ago
Heikki Linnakangas 91044ae4ba Send ALPN in TLS handshake, require it in direct SSL connections 2 years ago
Heikki Linnakangas d39a49c1e4 Support TLS handshake directly without SSLRequest negotiation 2 years ago
Tom Lane 3622c80846 Avoid "unused variable" warning on non-USE_SSL_ENGINE platforms. 2 years ago
Tom Lane 453c468737 Cope with a deficiency in OpenSSL 3.x's error reporting. 2 years ago
Tom Lane 0028b55bc8 Clean up Windows-specific mutex code in libpq and ecpglib. 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Tom Lane 0a5c46a7a4 Be more wary about OpenSSL not setting errno on error. 2 years ago
Tom Lane c82207a548 Use BIO_{get,set}_app_data instead of BIO_{get,set}_data. 2 years ago
Michael Paquier 01eca6a913 Fix race condition with BIO methods initialization in libpq with threads 2 years ago
Thomas Munro 68a4b58eca Remove --disable-thread-safety and related code. 2 years ago
Michael Paquier 8e278b6576 Remove support for OpenSSL 1.0.1 3 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 3 years ago
Daniel Gustafsson 0b5d1fb36a Fix errormessage for missing system CA in OpenSSL 3.1 3 years ago
Daniel Gustafsson 8eda731465 Allow to use system CA pool for certificate verification 3 years ago
Michael Paquier 36f40ce2dc libpq: Add sslcertmode option to control client certificates 3 years ago
Michael Paquier 9244c11afe Fix handling of SCRAM-SHA-256's channel binding with RSA-PSS certificates 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Peter Eisentraut a9e9a9f32b libpq error message refactoring, part 2 3 years ago
Tom Lane 4e4f7b9fcc Adjust PQsslAttributeNames() to match PQsslAttribute(). 3 years ago
Tom Lane 80a05679d5 Fix bogus behavior of PQsslAttribute(conn, "library"). 3 years ago
Peter Geoghegan a601366a46 Harmonize more parameter names in bulk. 3 years ago
Thomas Munro 2492fe49dc Remove configure probe for netinet/tcp.h. 3 years ago
Tom Lane bb9237a129 Add missing bad-PGconn guards in libpq entry points. 3 years ago
Tom Lane 2b65de7fc2 Remove misguided SSL key file ownership check in libpq. 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
Peter Eisentraut c1932e5428 libpq: Allow IP address SANs in server certificates 4 years ago
Tom Lane 878e64d0f8 Add missing newline in one libpq error message. 4 years ago
Daniel Gustafsson ebc8b7d441 Enable SSL library detection via PQsslAttribute() 4 years ago
Tom Lane a59c79564b Allow root-owned SSL private keys in libpq, not only the backend. 4 years ago
Tom Lane 335fa5a260 Fix thinko in PQisBusy(). 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Daniel Gustafsson 538724fc36 Extend the private key stat checking error handling 4 years ago
Tom Lane 1241fcbd7e Second attempt to silence SSL compile failures on hamerkop. 4 years ago
Daniel Gustafsson 31f860a52b Set type identifier on BIO 4 years ago
Daniel Gustafsson 512f4ca6c6 Fix sslsni connparam boolean check 4 years ago
Tom Lane aaddf6ba09 Remove libpq's use of abort(3) to handle mutex failure cases. 5 years ago
Peter Eisentraut 37e1cce4dd libpq: Fix SNI host handling 5 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Peter Eisentraut 5c55dc8b47 libpq: Set Server Name Indication (SNI) for SSL connections 5 years ago
Michael Paquier 2c0cefcd18 Set libcrypto callbacks for all connection threads in libpq 5 years ago
Michael Paquier 0ba71107ef Revert changes for SSL compression in libpq 5 years ago