aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc
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
commit89af9971573c5f74e8e5432315246971ddc47811 (patch)
tree86b32af9cedd4b54b6b1059604c329f1851f566c /plugins/adhoc
parent520e494813f6f03f99529b1fd0db8e8c873251aa (diff)
downloadprosody-89af9971573c5f74e8e5432315246971ddc47811.tar.gz
prosody-89af9971573c5f74e8e5432315246971ddc47811.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/adhoc')
0 files changed, 0 insertions, 0 deletions