Mercurial > prosody-hg
comparison plugins/mod_net_multiplex.lua @ 10699:fd77b6cec38d 0.11
mod_admin_telnet: Handle unavailable cipher info (fixes #1510)
The LuaSec :info() method gathers info using the OpenSSL function
SSL_get_current_cipher(). Documentation for this function states that it
may return NULL if no session has been established (yet). If so, the
LuaSec functions wrapping this return nil, triggering a nil-indexing
error in mod_admin_telnet.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 22 Mar 2020 17:35:26 +0100 |
| parents | 876171084ea3 |
| children | 09697a673015 |
comparison
equal
deleted
inserted
replaced
| 10690:27d15097c235 | 10699:fd77b6cec38d |
|---|
