Commit Graph

52 Commits (7b283d0e1d1d79bf1c962d790c94d2a53f3bb38a)

Author SHA1 Message Date
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. 11 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 12 years ago
Stephen Frost 8359ed806f Improve handling of pthread_mutex_lock error case 12 years ago
Stephen Frost aad2a630b1 Add locking around SSL_context usage in libpq 12 years ago
Alvaro Herrera bb686c9a86 Check for NULL result from strdup 12 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 13 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). 14 years ago
Tom Lane fee476da95 Improve libpq's error reporting for SSL failures. 14 years ago
Tom Lane d0c23026b2 Use OpenSSL's SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag. 14 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 15 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 15 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 16 years ago
Magnus Hagander a93e7432cf Properly initialize SSL engines when used from libpq. This is required for 16 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
Magnus Hagander e883d0b551 Remove sslverify parameter again, replacing it with two new sslmode values: 17 years ago
Bruce Momjian 418fd59663 Add libpq error message text on how to handle missing root.crt file. 17 years ago
Tom Lane 97503a5200 Add PQinitOpenSSL() function to support applications that use libcrypto 17 years ago
Bruce Momjian b86a71c8f4 Clarify variable naming: pq_initssllib -> pq_init_ssl_lib 17 years ago
Bruce Momjian 3ab95c2ab0 Better document PQinitSSL(0) behavior in regards to libcrypto. 17 years ago
Magnus Hagander 16c46d5d7a Go over all OpenSSL return values and make sure we compare them 17 years ago
Tom Lane cc1d292d78 Fix accidental (I suppose) introduction of non-ASCII quote marks. 17 years ago
Peter Eisentraut 0d8c613180 Message wordsmithing 17 years ago
Magnus Hagander 75eafe965e Don't require pqGetHomeDirectory to succeed if the user has specified 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Magnus Hagander 5f3724dd7c Support specifying filename for SSL certificate, key, root certificate store 17 years ago
Magnus Hagander 30c52532d2 Comment said we don't free the lockarray, and why. The proper fix is to 17 years ago
Bruce Momjian 98be3b49be Fix typo in recent SSL unload patch. 17 years ago