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:43:48 +00:00
parent 5572f43834
commit fca7f870c8
No known key found for this signature in database
GPG key ID: 50C25BA590AE7AB4

View file

@ -44,7 +44,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;
}