Mercurial > prosody-hg
comparison plugins/mod_s2s_auth_certs.lua @ 12977:74b9e05af71e
plugins: Prefix module imports with prosody namespace
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 24 Mar 2023 13:15:28 +0100 |
| parents | 02f8b10d73e8 |
| children | 874600c982bd |
comparison
equal
deleted
inserted
replaced
| 12976:a187600ec7d6 | 12977:74b9e05af71e |
|---|---|
| 1 module:set_global(); | 1 module:set_global(); |
| 2 | 2 |
| 3 local cert_verify_identity = require "util.x509".verify_identity; | 3 local cert_verify_identity = require "prosody.util.x509".verify_identity; |
| 4 local NULL = {}; | 4 local NULL = {}; |
| 5 local log = module._log; | 5 local log = module._log; |
| 6 | 6 |
| 7 local measure_cert_statuses = module:metric("counter", "checked", "", "Certificate validation results", | 7 local measure_cert_statuses = module:metric("counter", "checked", "", "Certificate validation results", |
| 8 { "chain"; "identity" }) | 8 { "chain"; "identity" }) |
