From 2321120a86c898149cee55139a23faaab450994b Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Mon, 8 Jan 2001 17:26:04 +0000 Subject: Oops, fix the cast from the previous commit so it actually helps. --- omapip/connection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'omapip/connection.c') diff --git a/omapip/connection.c b/omapip/connection.c index ae01e5b6..55c91d14 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; -- cgit v1.2.1