pgsql: Restore the SSL_set_session_id_context() call to OpenSSL renegot

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Restore the SSL_set_session_id_context() call to OpenSSL renegot
Date: 2015-02-16 20:36:24
Message-ID: E1YNSP2-0005zN-Fd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Restore the SSL_set_session_id_context() call to OpenSSL renegotiation.

This reverts the removal of the call in commit (272923a0). It turns out it
wasn't superfluous after all: without it, renegotiation fails if a client
certificate was used. The rest of the changes in that commit are still OK
and not reverted.

Per investigation of bug #12769 by Arne Scheffer, although this doesn't fix
the reported bug yet.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1c2b7c0879d83ff79e4adf2c0a883df92b713da4

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-02-16 21:05:35 pgsql: Fix comment in libpq OpenSSL code about why a substitue BIO is u
Previous Message Tom Lane 2015-02-16 20:29:04 pgsql: Use fast path in plpgsql's RETURN/RETURN NEXT in more cases.