about summary refs log tree commit diff
path: root/src/tool
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-26 16:21:54 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-26 16:21:54 +1200
commitb71a0ddbd570f5163ede198d635c3b03abd3e27e (patch)
tree982381a311f0769e333deafc39fbcf93030742e8 /src/tool
parentf6b7764eb5d85692c9242d2d20cb53f091083139 (diff)
downloadngircd-b71a0ddbd570f5163ede198d635c3b03abd3e27e.tar.gz
ngircd-b71a0ddbd570f5163ede198d635c3b03abd3e27e.zip
Specify session context for OpenSSL clients
Reconnecting to ngIRCd 22.1 built with OpenSSL with some OpenSSL
clients, including Pidgin and stunnel 5.06, attempts to reuse a session
and fails due to the absence of this line.

The error message in syslog from ngIRCd is:

> SSL protocol error: SSL_accept (error:140D9115:SSL
> routines:SSL_GET_PREV_SESSION:session id context uninitialized)

This patch appears to fix the problem for both Pidgin and stunnel; it
may work for other OpenSSL clients that attempt to re-use sessions.

*   <https://github.com/ngircd/ngircd/issues/182>
*   <https://developer.pidgin.im/ticket/11568>
*   <https://www.openssl.org/docs/ssl/SSL_CTX_set_session_id_context.html>
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions