Restore the SSL_set_session_id_context() call to OpenSSL renegotiation.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 16 Feb 2015 20:34:32 +0000 (22:34 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 16 Feb 2015 20:34:32 +0000 (22:34 +0200)
commit1c2b7c0879d83ff79e4adf2c0a883df92b713da4
tree92535ba1e5a67f9f3dee72229a7a53f8ad66dc0e
parent9e3ad1aac52454569393a947c06be0d301749362
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.
src/backend/libpq/be-secure-openssl.c