From: Ted Lemon Date: Mon, 8 Jan 2001 17:26:04 +0000 (+0000) Subject: Oops, fix the cast from the previous commit so it actually helps. X-Git-Tag: V3-BETA-2-PATCH-12~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2321120a86c898149cee55139a23faaab450994b;p=thirdparty%2Fdhcp.git Oops, fix the cast from the previous commit so it actually helps. --- diff --git a/omapip/connection.c b/omapip/connection.c index ae01e5b6c..55c91d145 100644 --- a/omapip/connection.c +++ b/omapip/connection.c @@ -460,8 +460,7 @@ static isc_result_t make_dst_key (DST_KEY **dst_key, omapi_object_t *a) { if (status == ISC_R_SUCCESS) { if ((algorithm -> value -> type == omapi_datatype_data || algorithm -> value -> type == omapi_datatype_string) && - strncasecmp ((unsigned char *) - algorithm -> value -> u.buffer.value, + strncasecmp ((char *)algorithm -> value -> u.buffer.value, NS_TSIG_ALG_HMAC_MD5 ".", algorithm -> value -> u.buffer.len) == 0) { algorithm_id = KEY_HMAC_MD5;