From 012e060ea8532ef5c50b9271df5a12321b747238 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 23 Aug 2002 19:37:40 +0000 Subject: [PATCH] * ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of int to match arguments to gssapi functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14760 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftpd/ChangeLog | 5 +++++ src/appl/gssftp/ftpd/ftpd.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 7a12e409a..08a2ceb47 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +2002-08-23 Ezra Peisach + + * ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of int + to match arguments to gssapi functions. + 2002-07-12 Ken Raeburn * ftpd.c: Include port-sockets.h. diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index de29b138f..193e9aaa1 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -2373,7 +2373,7 @@ char *adata; int found = 0; gss_cred_id_t server_creds, deleg_creds; gss_name_t client; - int ret_flags; + OM_uint32 ret_flags; int rad_len; gss_buffer_desc name_buf; gss_name_t server_name; @@ -2820,7 +2820,7 @@ char *s; /* a lot of work just to report the error */ OM_uint32 gmaj_stat, gmin_stat; gss_buffer_desc msg; - int msg_ctx; + OM_uint32 msg_ctx; msg_ctx = 0; while (!msg_ctx) { gmaj_stat = gss_display_status(&gmin_stat, maj_stat, -- 2.26.2