1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 09:23:13 +02:00

Fix compile problem with LibreSSL (and possibly OpenSSL <3.0.0).

Caused by 31d51fbb04
This commit is contained in:
Bram Matthys
2025-07-24 15:39:22 +02:00
parent d146da4a07
commit 8a4dae71fb
+2
View File
@@ -71,6 +71,7 @@ MOD_TEST()
HookAdd(modinfo->handle, HOOKTYPE_CONFIGTEST, 0, cloak_config_test);
HookAdd(modinfo->handle, HOOKTYPE_CONFIGPOSTTEST, 0, cloak_config_posttest);
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
if (!md5_function)
{
unreal_log(ULOG_ERROR, "tls", "MD5_UNAVAILABLE", NULL,
@@ -80,6 +81,7 @@ MOD_TEST()
"configuration (consult your distro docs).");
return MOD_FAILED;
}
#endif
return MOD_SUCCESS;
}