Software /
code /
prosody
Comparison
net/tls_luasec.lua @ 13116:58e793288d9c
net.tls_luasec: Expose method for loading a certificate
Further isolates LuaSec from Prosody core, with the ultimate goal of
allowing LuaSec to be replaced more easily.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 27 May 2023 15:40:49 +0200 |
parent | 13115:749376d75b40 |
comparison
equal
deleted
inserted
replaced
13115:749376d75b40 | 13116:58e793288d9c |
---|---|
108 }; | 108 }; |
109 | 109 |
110 return { | 110 return { |
111 features = luasec_has; | 111 features = luasec_has; |
112 new_context = new_context, | 112 new_context = new_context, |
113 load_certificate = ssl.loadcertificate; | |
113 }; | 114 }; |