postgresql/src/interfaces/libpq
Tom Lane 6148e2b9a6 Fix assorted error-cleanup bugs in SSL min/max protocol version code.
The error exits added to initialize_SSL() failed to clean up the
partially-built SSL_context, and some of them also leaked the
result of SSLerrmessage().  Make them match other error-handling
cases in that function.

The error exits added to connectOptions2() failed to set conn->status
like every other error exit in that function.

In passing, make the SSL_get_peer_certificate() error exit look more
like all the other calls of SSLerrmessage().

Oversights in commit ff8ca5fad.  Coverity whined about leakage of the
SSLerrmessage() results; I noted the rest in manual code review.
2020-02-02 13:09:33 -05:00
..
po Translation updates 2019-06-17 15:30:20 +02:00
test Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore Move wchar.c and encnames.c to src/common/. 2020-01-16 15:58:55 -05:00
Makefile Move wchar.c and encnames.c to src/common/. 2020-01-16 15:58:55 -05:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
exports.txt Remove PQsslpassword function 2019-12-07 09:20:53 -05:00
fe-auth-scram.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-auth.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-auth.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-connect.c Fix assorted error-cleanup bugs in SSL min/max protocol version code. 2020-02-02 13:09:33 -05:00
fe-exec.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-gssapi-common.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-gssapi-common.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-lobj.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-misc.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
fe-print.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-protocol2.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
fe-protocol3.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
fe-secure-common.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-secure-common.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fe-secure-gssapi.c Extensive code review for GSSAPI encryption mechanism. 2020-01-11 17:14:08 -05:00
fe-secure-openssl.c Fix assorted error-cleanup bugs in SSL min/max protocol version code. 2020-02-02 13:09:33 -05:00
fe-secure.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
legacy-pqsignal.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
libpq-events.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
libpq-events.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
libpq-fe.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
libpq-int.h Add connection parameters to control SSL protocol min/max in libpq 2020-01-28 10:40:48 +09:00
nls.mk Add missing source files to nls.mk 2019-07-06 15:03:21 +02:00
pg_service.conf.sample Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pqexpbuffer.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pqexpbuffer.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pthread-win32.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
win32.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
win32.h Remove support for bcc and msvc standalone libpq builds 2017-04-11 15:22:21 +02:00

README

src/interfaces/libpq/README

This directory contains the C version of Libpq, the POSTGRES frontend library.