From: Ted Lemon Date: Wed, 2 May 2001 17:00:32 +0000 (+0000) Subject: Do a case-insensitive compare on the key algorithm name. X-Git-Tag: V3-RC5~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a4163c60b7f0eefc4c06f9cfa1b19cd8bafdab4;p=thirdparty%2Fdhcp.git Do a case-insensitive compare on the key algorithm name. --- diff --git a/omapip/auth.c b/omapip/auth.c index 1de76c050..2c6ba86d4 100644 --- a/omapip/auth.c +++ b/omapip/auth.c @@ -43,7 +43,7 @@ #ifndef lint static char ocopyright[] = -"$Id: auth.c,v 1.2 2000/08/17 19:41:24 mellon Exp $ Copyright 1998-2000 The Internet Software Consortium."; +"$Id: auth.c,v 1.3 2001/05/02 17:00:32 mellon Exp $ Copyright 1998-2000 The Internet Software Consortium."; #endif #include @@ -168,8 +168,8 @@ isc_result_t omapi_auth_key_lookup (omapi_object_t **h, return ISC_R_NOTFOUND; } - if (omapi_td_strcmp (algorithm -> value, - ((omapi_auth_key_t *)*h) -> algorithm) != 0) { + if (omapi_td_strcasecmp (algorithm -> value, + ((omapi_auth_key_t *)*h) -> algorithm) != 0) { omapi_value_dereference (&name, MDL); omapi_value_dereference (&algorithm, MDL); omapi_object_dereference (h, MDL);