Mercurial > prosody-hg
changeset 14013:fbfc06c5f3a8
util.crypto: Add missing include for openssl/rsa.h
Apparently this used to compile, but when disabling deprecated APIs in openssl
it requires an explicit include (which makes sense, per the docs).
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 15 Dec 2025 12:14:27 +0000 |
| parents | 373d3edf58aa |
| children | 42e035cd3322 |
| files | util-src/crypto.c |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/crypto.c Fri Dec 12 12:44:16 2025 +0000 +++ b/util-src/crypto.c Mon Dec 15 12:14:27 2025 +0000 @@ -29,6 +29,7 @@ #include <openssl/obj_mac.h> #include <openssl/param_build.h> #include <openssl/pem.h> +#include <openssl/rsa.h> #if (LUA_VERSION_NUM == 501) #define luaL_setfuncs(L, R, N) luaL_register(L, NULL, R)
