Mercurial > prosody-hg
comparison util/sslconfig.lua @ 7867:194f540e13e2
util.sslconfig: Remvoe flag merging for 'verify' as this is more of a tri-state field than a set of options
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 26 Jan 2017 14:18:30 +0100 |
| parents | ddb03cc4ce04 |
| children | a349299038ff |
comparison
equal
deleted
inserted
replaced
| 7866:b6d99132d7dc | 7867:194f540e13e2 |
|---|---|
| 34 end | 34 end |
| 35 end | 35 end |
| 36 config[field] = options; | 36 config[field] = options; |
| 37 end | 37 end |
| 38 | 38 |
| 39 handlers.verify = handlers.options; | |
| 40 handlers.verifyext = handlers.options; | 39 handlers.verifyext = handlers.options; |
| 41 | 40 |
| 42 -- finalisers take something produced by handlers and return what luasec | 41 -- finalisers take something produced by handlers and return what luasec |
| 43 -- expects it to be | 42 -- expects it to be |
| 44 | 43 |
| 51 end | 50 end |
| 52 end | 51 end |
| 53 return output; | 52 return output; |
| 54 end | 53 end |
| 55 | 54 |
| 56 finalisers.verify = finalisers.options; | |
| 57 finalisers.verifyext = finalisers.options; | 55 finalisers.verifyext = finalisers.options; |
| 58 | 56 |
| 59 -- We allow ciphers to be a list | 57 -- We allow ciphers to be a list |
| 60 | 58 |
| 61 function finalisers.ciphers(cipherlist) | 59 function finalisers.ciphers(cipherlist) |
