From: Ted Lemon Date: Thu, 3 May 2001 18:20:56 +0000 (+0000) Subject: Authenticators are binary, thus unsigned char. X-Git-Tag: V3-RC5~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ad8c39d86594ca1df8a426a9171fc44897c26a1;p=thirdparty%2Fdhcp.git Authenticators are binary, thus unsigned char. --- diff --git a/dhcpctl/dhcpctl.h b/dhcpctl/dhcpctl.h index afe70a2c7..e78a64eeb 100644 --- a/dhcpctl/dhcpctl.h +++ b/dhcpctl/dhcpctl.h @@ -109,7 +109,7 @@ isc_result_t dhcpctl_callback_stuff_values (omapi_object_t *, dhcpctl_status dhcpctl_new_authenticator (dhcpctl_handle *, const char *, const char *, - const char *, unsigned); + const unsigned char *, unsigned); dhcpctl_status dhcpctl_open_object (dhcpctl_handle, dhcpctl_handle, int); dhcpctl_status dhcpctl_new_object (dhcpctl_handle *, diff --git a/dhcpctl/remote.c b/dhcpctl/remote.c index a7c325215..6750b704e 100644 --- a/dhcpctl/remote.c +++ b/dhcpctl/remote.c @@ -57,7 +57,7 @@ dhcpctl_status dhcpctl_new_authenticator (dhcpctl_handle *h, const char *name, const char *algorithm, - const char *secret, + const unsigned char *secret, unsigned secret_len) { struct auth_key *key = (struct auth_key *)0;