diff options
author | Xin LI <delphij@FreeBSD.org> | 2016-01-08 08:06:14 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2016-01-08 08:06:14 +0000 |
commit | c373d9289d1987abe45e339b5aa37f05460e977f (patch) | |
tree | eacecf05ade498902c426d07b76ce3d5e1306ffe /include/ntp_stdlib.h | |
parent | 49b7d963372f963c2eab9435fa69aa1f61326111 (diff) |
Notes
Diffstat (limited to 'include/ntp_stdlib.h')
-rw-r--r-- | include/ntp_stdlib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ntp_stdlib.h b/include/ntp_stdlib.h index a2e62dabefd9..d735b41f4ba7 100644 --- a/include/ntp_stdlib.h +++ b/include/ntp_stdlib.h @@ -65,8 +65,8 @@ typedef void (*ctrl_c_fn)(void); /* authkeys.c */ extern void auth_delkeys (void); extern int auth_havekey (keyid_t); -extern int authdecrypt (keyid_t, u_int32 *, int, int); -extern int authencrypt (keyid_t, u_int32 *, int); +extern int authdecrypt (keyid_t, u_int32 *, size_t, size_t); +extern size_t authencrypt (keyid_t, u_int32 *, size_t); extern int authhavekey (keyid_t); extern int authistrusted (keyid_t); extern int authreadkeys (const char *); @@ -95,8 +95,8 @@ extern void auth_prealloc_symkeys(int); extern int ymd2yd (int, int, int); /* a_md5encrypt.c */ -extern int MD5authdecrypt (int, u_char *, u_int32 *, int, int); -extern int MD5authencrypt (int, u_char *, u_int32 *, int); +extern int MD5authdecrypt (int, const u_char *, u_int32 *, size_t, size_t); +extern size_t MD5authencrypt (int, const u_char *, u_int32 *, size_t); extern void MD5auth_setkey (keyid_t, int, const u_char *, size_t); extern u_int32 addr2refid (sockaddr_u *); |