From 5a4163c60b7f0eefc4c06f9cfa1b19cd8bafdab4 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 2 May 2001 17:00:32 +0000 Subject: [PATCH] Do a case-insensitive compare on the key algorithm name. --- omapip/auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.47.3