diff 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
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)