projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd654f2
)
certmanager: Fix previous commit
author
Kim Alvefur
<zash@zash.se>
Thu, 5 Feb 2015 16:21:05 +0000
(17:21 +0100)
committer
Kim Alvefur
<zash@zash.se>
Thu, 5 Feb 2015 16:21:05 +0000
(17:21 +0100)
core/certmanager.lua
patch
|
blob
|
history
diff --git
a/core/certmanager.lua
b/core/certmanager.lua
index 9a0c3deb6d5457dda44db14883fb7a4c5f182bb4..e016aa97b81124b73fc64e02e7e5397dc08ad86d 100644
(file)
--- a/
core/certmanager.lua
+++ b/
core/certmanager.lua
@@
-38,7
+38,7
@@
local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)");
local luasec_version = luasec_major * 100 + luasec_minor;
local luasec_has = {
-- TODO If LuaSec ever starts exposing these things itself, use that instead
- cipher_server_preference = >= 2;
+ cipher_server_preference =
luasec_version
>= 2;
no_ticket = luasec_version >= 4;
no_compression = luasec_version >= 5;
single_dh_use = luasec_version >= 2;