From fca7f870c86e0058a3e1a42dad6c05cf1c009a94 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Tue, 28 Jan 2020 20:43:48 +0000 Subject: [PATCH] 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] --- extensions/extb_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/extb_ssl.c b/extensions/extb_ssl.c index 83ab56a3..e4078dde 100644 --- a/extensions/extb_ssl.c +++ b/extensions/extb_ssl.c @@ -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; }