Mercurial > prosody-hg
comparison plugins/mod_csi_simple.lua @ 12474:8fac32810144 0.12
mod_s2s: Improve robustness of outgoing s2s certificate verification
This change ensures we have positively verified the certificates of the server
we are connecting to before marking the session as authenticated. It protects
against situations where the verify-or-close stage of the connection was
interrupted (e.g. due to an uncaught error).
Thanks to Zash for discovery and testing.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 25 Apr 2022 15:07:49 +0100 |
| parents | 1c47162dd965 |
| children | b4bc5a715e65 3cea237f9d1d |
comparison
equal
deleted
inserted
replaced
| 12466:9ee41552bca0 | 12474:8fac32810144 |
|---|
