]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Oops, fix the cast from the previous commit so it actually helps.
authorTed Lemon <source@isc.org>
Mon, 8 Jan 2001 17:26:04 +0000 (17:26 +0000)
committerTed Lemon <source@isc.org>
Mon, 8 Jan 2001 17:26:04 +0000 (17:26 +0000)
omapip/connection.c

index ae01e5b6cece5e028cb46981541de42b02852eb6..55c91d145573a53d241c8b937c77032de7d750bc 100644 (file)
@@ -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;