Mercurial > prosody-hg
comparison util-src/crypto.c @ 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 | fb970df95374 |
| children | d975d280baec |
comparison
equal
deleted
inserted
replaced
| 14012:373d3edf58aa | 14013:fbfc06c5f3a8 |
|---|---|
| 27 #include <openssl/err.h> | 27 #include <openssl/err.h> |
| 28 #include <openssl/evp.h> | 28 #include <openssl/evp.h> |
| 29 #include <openssl/obj_mac.h> | 29 #include <openssl/obj_mac.h> |
| 30 #include <openssl/param_build.h> | 30 #include <openssl/param_build.h> |
| 31 #include <openssl/pem.h> | 31 #include <openssl/pem.h> |
| 32 #include <openssl/rsa.h> | |
| 32 | 33 |
| 33 #if (LUA_VERSION_NUM == 501) | 34 #if (LUA_VERSION_NUM == 501) |
| 34 #define luaL_setfuncs(L, R, N) luaL_register(L, NULL, R) | 35 #define luaL_setfuncs(L, R, N) luaL_register(L, NULL, R) |
| 35 #endif | 36 #endif |
| 36 | 37 |
