]> jfr.im git - irc/charybdis-ircd/charybdis.git/commit
openssl: Set some sort of session id context.
authorJilles Tjoelker <redacted>
Wed, 15 Jan 2014 20:50:08 +0000 (21:50 +0100)
committerJilles Tjoelker <redacted>
Fri, 15 Aug 2014 16:47:17 +0000 (18:47 +0200)
commit8235ca7879c82fcaecd6e2b467b18c167029644b
treec7fc7238a56853e0583c85dd90a5dea2fc7ccb02
parente80ee35cb450ca24948a74ba3a4f33f821e81127
openssl: Set some sort of session id context.

Without a session id context and if client certificates are used, OpenSSL
fails the handshake if an attempt is made to reuse an old session. Various
clients could not reconnect after a disconnection because of this.

See https://bugzilla.mozilla.org/show_bug.cgi?id=858394#c34 for a bug
report.

(cherry picked from commit fabc3174fe60b5748964a9cac2118a502b0c0a19 and
commit cee842a82926d6e6295736b76be968806649beee)
libratbox/src/openssl.c