Software /
code /
prosody
File
util/xpcall.lua @ 10920:c171b4c59bd1
util.sslconfig: Process TLS 1.3-specific cipher list
Same way as with other cipher list options
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Jun 2020 02:14:55 +0200 |
parent | 9561:cfc7b2f7251e |
child | 12975:d10957394a3c |
line wrap: on
line source
local xpcall = xpcall; if select(2, xpcall(function (x) return x end, function () end, "test")) ~= "test" then xpcall = require"util.compat".xpcall; end return { xpcall = xpcall; };