aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/lockfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-02-02 13:09:33 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-02-02 13:09:33 -0500
commit6148e2b9a6399b77e10e277c32d701b84703820f (patch)
treec057fdcd5c7bad408e91bb24e9a690197d3b35d2 /src/backend/utils/adt/lockfuncs.c
parent1fd687a035558238c0e3cab09fc22dc61a088869 (diff)
downloadpostgresql-6148e2b9a6399b77e10e277c32d701b84703820f.tar.gz
postgresql-6148e2b9a6399b77e10e277c32d701b84703820f.zip
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.
Diffstat (limited to 'src/backend/utils/adt/lockfuncs.c')
0 files changed, 0 insertions, 0 deletions