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

Remove some check for U4 (<4.0.16+). Shouldn't matter but otherwise

one could possibly miss this cert verification warning. And since
that will later become an error, it is even more important to
notice such a (hopefully unusual) case quickly.
This commit is contained in:
Bram Matthys
2025-07-26 13:33:02 +02:00
parent 6b0d81fb77
commit eae1a2e99a
-7
View File
@@ -1740,13 +1740,6 @@ void tls_link_notification_verify(Client *client, ConfigItem_link *aconf)
if (!tls_fp || !spki_fp)
return; /* wtf ? */
/* Only bother the user if we are linking to UnrealIRCd 4.0.16+,
* since only for these versions we can give precise instructions.
*/
if (!client->server || client->server->features.protocol < 4016)
return;
verify_ok = verify_certificate(client->local->ssl, aconf->servername, &errstr);
if (errstr && strstr(errstr, "not valid for hostname"))
{