Software / code / prosody-modules
Changeset
6333:dbbbd5caf292
mod_cloud_notify_encrypted: Fix variable name (thanks bronko)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 10 Jul 2025 10:15:35 +0100 |
| parents | 6332:9dcdb56f75dd |
| children | 6334:9b03238d4e0e |
| files | mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua Mon Jul 07 11:39:16 2025 -0500 +++ b/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua Thu Jul 10 10:15:35 2025 +0100 @@ -14,7 +14,7 @@ -- FIXME: luaossl does not expose the EVP_CTRL_GCM_GET_TAG API, so we append 16 NUL bytes -- Siskin does not validate the tag anyway. function crypto.aes_128_gcm_encrypt(key, iv, message) - return ciphers.new("AES-128-GCM"):encrypt(key, iv):final(message)..string.rep("\0", 16); + return ossl_ciphers.new("AES-128-GCM"):encrypt(key, iv):final(message)..string.rep("\0", 16); end end