Mercurial > prosody-hg
comparison core/certmanager.lua @ 5874:3321a4b3e6c4
certmanager: Fix. Again.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 15 Oct 2013 10:47:34 +0200 |
| parents | 1c3ebd3009fe |
| children | 019130907a07 |
comparison
equal
deleted
inserted
replaced
| 5872:1c3ebd3009fe | 5874:3321a4b3e6c4 |
|---|---|
| 52 core_defaults.verify[#core_defaults.verify+1] = core_defaults.verifyext[i]:sub(6); | 52 core_defaults.verify[#core_defaults.verify+1] = core_defaults.verifyext[i]:sub(6); |
| 53 end | 53 end |
| 54 end | 54 end |
| 55 | 55 |
| 56 if luasec_has_no_compression then -- Has no_compression? Then it has these too... | 56 if luasec_has_no_compression then -- Has no_compression? Then it has these too... |
| 57 default_options[#default_options+1] = "single_dh_use"; | 57 core_defaults.options[#core_defaults.options+1] = "single_dh_use"; |
| 58 default_options[#default_options+1] = "single_ecdh_use"; | 58 core_defaults.options[#core_defaults.options+1] = "single_ecdh_use"; |
| 59 if configmanager.get("*", "ssl_compression") ~= true then | 59 if configmanager.get("*", "ssl_compression") ~= true then |
| 60 core_defaults.options[#core_defaults.options+1] = "no_compression"; | 60 core_defaults.options[#core_defaults.options+1] = "no_compression"; |
| 61 end | 61 end |
| 62 end | 62 end |
| 63 | 63 |
