Software /
code /
prosody-modules
Comparison
mod_s2s_auth_fingerprint/mod_s2s_auth_fingerprint.lua @ 1166:2b62a3b76d76
mod_s2s_auth_fingerprint: Don't halt event propagation in cert pinning mode
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Aug 2013 00:25:37 +0200 |
parent | 1131:e7b69d12fbfb |
child | 1324:853a382c9bd6 |
comparison
equal
deleted
inserted
replaced
1165:b8762c9fb270 | 1166:2b62a3b76d76 |
---|---|
35 session.cert_identity_status = "valid"; | 35 session.cert_identity_status = "valid"; |
36 return true; | 36 return true; |
37 elseif must_match then | 37 elseif must_match then |
38 session.cert_chain_status = "invalid"; | 38 session.cert_chain_status = "invalid"; |
39 session.cert_identity_status = "invalid"; | 39 session.cert_identity_status = "invalid"; |
40 return false; | |
41 end | 40 end |
42 end | 41 end |
43 end); | 42 end); |