From d70fe9be99c1bfe1827854908d2fec1a25815989 Mon Sep 17 00:00:00 2001 From: elbandi Date: Fri, 12 Feb 2016 18:54:35 +0100 Subject: [PATCH] Case-insensitive string algorithm comparison --- algorithm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithm.c b/algorithm.c index b53fd297..8d436e17 100644 --- a/algorithm.c +++ b/algorithm.c @@ -1051,7 +1051,7 @@ void copy_algorithm_settings(algorithm_t* dest, const char* algo) // Find algorithm settings and copy for (src = algos; src->name; src++) { - if (strcmp(src->name, algo) == 0) + if (strcasecmp(src->name, algo) == 0) { strcpy(dest->name, src->name); dest->kernelfile = src->kernelfile;