summaryrefslogtreecommitdiff
path: root/omapip/connection.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-01-08 17:26:04 +0000
committerTed Lemon <source@isc.org>2001-01-08 17:26:04 +0000
commit2321120a86c898149cee55139a23faaab450994b (patch)
tree8de603cc280eaaf753280bd76707055fb5021342 /omapip/connection.c
parent478028e7ec2ed8dc6867f17d027aa7a36727943b (diff)
downloadisc-dhcp-2321120a86c898149cee55139a23faaab450994b.tar.gz
Oops, fix the cast from the previous commit so it actually helps.
Diffstat (limited to 'omapip/connection.c')
-rw-r--r--omapip/connection.c3
1 files changed, 1 insertions, 2 deletions
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;