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 | 4a257f3ce6b82d9451babc8cf92b5dc1b669a059 (patch) | |
tree | 86b32af9cedd4b54b6b1059604c329f1851f566c /tools/erlparse.lua | |
parent | ffe0b57c6c4d16c67ccae976429eb99864f03650 (diff) | |
download | prosody-4a257f3ce6b82d9451babc8cf92b5dc1b669a059.tar.gz prosody-4a257f3ce6b82d9451babc8cf92b5dc1b669a059.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 'tools/erlparse.lua')
0 files changed, 0 insertions, 0 deletions