diff options
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/server/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/server/schpw.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 25659f12db..9af1d19e3d 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,8 @@ +2001-10-26 Ezra Peisach <epeisach@mit.edu> + + * schpw.c (process_chpw_request): Use GETSOCKNAME_ARG3_TYPE + instead of int as argument to getsockname(). + 2001-06-29 Ezra Peisach <epeisach@mit.edu> * misc.c, server_stubs.c: Nuke rcsid. diff --git a/src/kadmin/server/schpw.c b/src/kadmin/server/schpw.c index 909d0f0e80..ddf6238862 100644 --- a/src/kadmin/server/schpw.c +++ b/src/kadmin/server/schpw.c @@ -7,6 +7,10 @@ #include "misc.h" +#ifndef GETSOCKNAME_ARG3_TYPE +#define GETSOCKNAME_ARG3_TYPE int +#endif + krb5_error_code process_chpw_request(context, server_handle, realm, s, keytab, sockin, req, rep) @@ -30,7 +34,7 @@ process_chpw_request(context, server_handle, realm, s, keytab, sockin, krb5_ticket *ticket; krb5_data cipher, clear; struct sockaddr local_addr, remote_addr; - int addrlen; + GETSOCKNAME_ARG3_TYPE addrlen; krb5_replay_data replay; krb5_error krberror; int numresult; |