Restore the SSL_set_session_id_context() call to OpenSSL renegotiation.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 1c2b7c0879d83ff79e4adf2c0a883df92b713da4
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-02-16T20:34:32Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/backend/libpq/be-secure-openssl.c modified +4 −0