diff options
author | Kim Alvefur <zash@zash.se> | 2020-03-22 17:35:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-03-22 17:35:26 +0100 |
commit | 9e95f5e9f6a5447b9b68fc20b3a490b553d6b06c (patch) | |
tree | 86b32af9cedd4b54b6b1059604c329f1851f566c /core | |
parent | 773203771da3d2b443ec7e05b6a180456e195b84 (diff) | |
download | prosody-9e95f5e9f6a5447b9b68fc20b3a490b553d6b06c.tar.gz prosody-9e95f5e9f6a5447b9b68fc20b3a490b553d6b06c.zip |
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.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions