]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Authenticators are binary, thus unsigned char.
authorTed Lemon <source@isc.org>
Thu, 3 May 2001 18:20:56 +0000 (18:20 +0000)
committerTed Lemon <source@isc.org>
Thu, 3 May 2001 18:20:56 +0000 (18:20 +0000)
dhcpctl/dhcpctl.h
dhcpctl/remote.c

index afe70a2c7b340efae01c67db0716a140d0f7eb57..e78a64eeb591e3154f505efa9b4d099561ac98a5 100644 (file)
@@ -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 *,
index a7c325215be4159dc394693c8abb02540dc444cf..6750b704eec8f1bdd956b1ed2a377ccdfd085c71 100644 (file)
@@ -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;