diff options
author | Ted Lemon <source@isc.org> | 2001-05-03 18:20:56 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-05-03 18:20:56 +0000 |
commit | 6ad8c39d86594ca1df8a426a9171fc44897c26a1 (patch) | |
tree | 6099ef69b9f360621f43d4470de06a7145922b8d /dhcpctl | |
parent | 7063c3e88b8a3ccb7307ae16df156ce7ab4f1b54 (diff) | |
download | isc-dhcp-6ad8c39d86594ca1df8a426a9171fc44897c26a1.tar.gz |
Authenticators are binary, thus unsigned char.
Diffstat (limited to 'dhcpctl')
-rw-r--r-- | dhcpctl/dhcpctl.h | 2 | ||||
-rw-r--r-- | dhcpctl/remote.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dhcpctl/dhcpctl.h b/dhcpctl/dhcpctl.h index afe70a2c..e78a64ee 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 a7c32521..6750b704 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; |