From c57776c06ec99ba9b0dafdbf9475ea72ea8ca134 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 30 May 2004 04:40:30 +0300 Subject: [PATCH] Case insensitive lookups for mechanism names --HG-- branch : HEAD --- src/auth/mech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/mech.c b/src/auth/mech.c index f8b11b2300..a29713ad4f 100644 --- a/src/auth/mech.c +++ b/src/auth/mech.c @@ -64,7 +64,7 @@ static struct mech_module *mech_module_find(const char *name) struct mech_module_list *list; for (list = mech_modules; list != NULL; list = list->next) { - if (strcmp(list->module.mech_name, name) == 0) + if (strcasecmp(list->module.mech_name, name) == 0) return &list->module; } return NULL; -- 2.47.3