aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-03-22 17:35:26 +0100
committerKim Alvefur <zash@zash.se>2020-03-22 17:35:26 +0100
commitaf11cae5114d8237c8f17be3a89482bc70cf42b8 (patch)
tree86b32af9cedd4b54b6b1059604c329f1851f566c /plugins/mod_http.lua
parente50a3fac0be9cee64746f88dda46989ec87e8e29 (diff)
downloadprosody-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