extensions/extb_ssl.c: make certfp parameter case-insensitive

I had the idea that maybe these should be case-sensitive because some
encodings (like Base-64) are. But it turns out it's better to
prioritise not breaking existing configurations / channel mode lists,
and just revisit this in future maybe.

[ci skip]
This commit is contained in:
Aaron Jones 2020-01-28 20:46:14 +00:00
parent e0a8d121fa
commit 6cfb19943a
No known key found for this signature in database
GPG key ID: 50C25BA590AE7AB4

View file

@ -42,7 +42,7 @@ static int eb_ssl(const char *data, struct Client *client_p,
if (EmptyString(client_p->certfp))
return EXTBAN_NOMATCH;
if (strcmp(data, client_p->certfp) != 0)
if (irccmp(data, client_p->certfp) != 0)
return EXTBAN_NOMATCH;
}