Commit Graph

15 Commits (e2838c58047a98e91cb6f329b17bb86f343c03d2)

Author SHA1 Message Date
Heikki Linnakangas e2838c5804 Support OpenSSL 1.1.0. 9 years ago
Peter Eisentraut a3c17b2af8 Distrust external OpenSSL clients; clear err queue 10 years ago
Tom Lane ab994cc00e Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify fully. 10 years ago
Tom Lane b67c9c1939 Fix poor errno handling in libpq's version of our custom OpenSSL BIO. 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 11 years ago
Peter Eisentraut 55c0da38be Message string improvements 11 years ago
Peter Eisentraut 8a0d34e4e4 libpq: Don't overwrite existing OpenSSL thread callbacks 11 years ago
Heikki Linnakangas c478959a00 Fix comment in libpq OpenSSL code about why a substitue BIO is used. 11 years ago
Heikki Linnakangas 91fa7b4719 Add API functions to libpq to interrogate SSL related stuff. 11 years ago
Tom Lane 586dd5d6a5 Replace a bunch more uses of strncpy() with safer coding. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Heikki Linnakangas 4e86f1b16d Put SSL_pending() call behind the new internal SSL API. 11 years ago
Heikki Linnakangas 58e70cf9fb Follow the RFCs more closely in libpq server certificate hostname check. 11 years ago
Heikki Linnakangas acd08d764a Support Subject Alternative Names in SSL server certificates. 11 years ago
Heikki Linnakangas 680513ab79 Break out OpenSSL-specific code to separate files. 12 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Tom Lane 326e1d73c4 Disallow use of SSL v3 protocol in the server as well as in libpq. 12 years ago
Noah Misch 820f08cabd libpq: Support TLS versions beyond TLSv1. 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Stephen Frost b37c90f11e Fix SSL deadlock risk in libpq 12 years ago
Peter Eisentraut fe885c6e36 libpq: Report strerror on pthread_mutex_lock() failure 13 years ago
Stephen Frost 8359ed806f Improve handling of pthread_mutex_lock error case 13 years ago
Stephen Frost aad2a630b1 Add locking around SSL_context usage in libpq 13 years ago
Alvaro Herrera bb686c9a86 Check for NULL result from strdup 13 years ago
Tom Lane da5aeccf64 Move pqsignal() to libpgport. 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 14 years ago
Tom Lane 077711c2e3 Remove arbitrary limitation on length of common name in SSL certificates. 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Magnus Hagander 5b40677986 Treat ENOTDIR as ENOENT when looking for client certificate file 14 years ago
Magnus Hagander 64aea1ebc7 Add libpq connection option to disable SSL compression 14 years ago
Tom Lane bcf23ba4bf Fix previous patch so it also works if not USE_SSL (mea culpa). 15 years ago
Tom Lane fee476da95 Improve libpq's error reporting for SSL failures. 15 years ago
Tom Lane d0c23026b2 Use OpenSSL's SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Tom Lane bd58d9d883 In initialize_SSL, don't fail unnecessarily when home dir is unavailable. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Tom Lane d494e685c5 Allow full SSL certificate verification (wherein libpq checks its host name 16 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Tom Lane 4ed4b6c54e Rearrange libpq's SSL initialization to simplify it and make it handle some 16 years ago
Tom Lane 20d629320b Add missing newlines to some SSL-related error messages. Noted while testing. 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 4847d5956c Set errno to zero before invoking SSL_read or SSL_write. It appears that 16 years ago
Magnus Hagander abf23ee86d Reject certificates with embedded NULLs in the commonName field. This stops 16 years ago
Tom Lane cea80e726e Avoid extra system calls to block SIGPIPE if the platform provides either 17 years ago
Magnus Hagander a93e7432cf Properly initialize SSL engines when used from libpq. This is required for 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane ac73ced725 Fix already-obsolete hint message ... sslverify parameter is no more. 17 years ago