]> granicus.if.org Git - postgresql/commit - src/interfaces/libpq/fe-secure.c
Disallow use of SSL v3 protocol in the server as well as in libpq.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Jan 2014 22:51:07 +0000 (17:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Jan 2014 22:51:18 +0000 (17:51 -0500)
commit326e1d73c476a0b5061ef00134bdf57aed70d5e7
tree65cb1997ebd56dfa1979df6fd502a1b238446f9d
parent3fd3e34914a2aa520a8bc5109a773621385cf1f4
Disallow use of SSL v3 protocol in the server as well as in libpq.

Commit 820f08cabdcbb8998050c3d4873e9619d6d8cba4 claimed to make the server
and libpq handle SSL protocol versions identically, but actually the server
was still accepting SSL v3 protocol while libpq wasn't.  Per discussion,
SSL v3 is obsolete, and there's no good reason to continue to accept it.
So make the code really equivalent on both sides.  The behavior now is
that we use the highest mutually-supported TLS protocol version.

Marko Kreen, some comment-smithing by me
src/backend/libpq/be-secure.c
src/interfaces/libpq/fe-secure.c