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 | af11cae5114d8237c8f17be3a89482bc70cf42b8 (patch) | |
tree | 86b32af9cedd4b54b6b1059604c329f1851f566c /plugins/mod_http.lua | |
parent | e50a3fac0be9cee64746f88dda46989ec87e8e29 (diff) | |
download | prosody-af11cae5114d8237c8f17be3a89482bc70cf42b8.tar.gz prosody-af11cae5114d8237c8f17be3a89482bc70cf42b8.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 'plugins/mod_http.lua')
0 files changed, 0 insertions, 0 deletions