aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.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
commit9e95f5e9f6a5447b9b68fc20b3a490b553d6b06c (patch)
tree86b32af9cedd4b54b6b1059604c329f1851f566c /plugins/mod_storage_sql.lua
parent773203771da3d2b443ec7e05b6a180456e195b84 (diff)
downloadprosody-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 'plugins/mod_storage_sql.lua')
0 files changed, 0 insertions, 0 deletions