From: Bodo Möller Date: Sat, 10 Feb 2001 11:21:29 +0000 (+0000) Subject: use case-insensitive comparison in set_table_opts X-Git-Tag: OpenSSL_0_9_6a-beta1~48^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c15e0363982daf8ef68a28632652311fbb85b2a3;p=oweals%2Fopenssl.git use case-insensitive comparison in set_table_opts (similar to how arguments such as -inform/-outform specifications are treated) --- diff --git a/apps/apps.c b/apps/apps.c index bdd8c71426..ddc4df0773 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -806,7 +806,7 @@ static int set_table_opts(unsigned long *flags, const char *arg, const NAME_EX_T } else c = 1; for(ptbl = in_tbl; ptbl->name; ptbl++) { - if(!strcmp(arg, ptbl->name)) { + if(!strcasecmp(arg, ptbl->name)) { *flags &= ~ptbl->mask; if(c) *flags |= ptbl->flag; else *flags &= ~ptbl->flag;