diff options
author | Ted Lemon <source@isc.org> | 2001-05-02 17:00:32 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-05-02 17:00:32 +0000 |
commit | 5a4163c60b7f0eefc4c06f9cfa1b19cd8bafdab4 (patch) | |
tree | e048cb427165e291cf6eff5086f6e4f1ae2ffcab | |
parent | 351556132fcbcca56c2a5cf99360839a6a455639 (diff) | |
download | isc-dhcp-5a4163c60b7f0eefc4c06f9cfa1b19cd8bafdab4.tar.gz |
Do a case-insensitive compare on the key algorithm name.
-rw-r--r-- | omapip/auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/omapip/auth.c b/omapip/auth.c index 1de76c05..2c6ba86d 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 <omapip/omapip_p.h> @@ -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); |