From: Tom Yu Date: Tue, 4 Jul 2000 01:19:12 +0000 (+0000) Subject: * cr_tkt.c: Frob prototypes so they don't involve narrow types X-Git-Tag: krb5-1.3-alpha1~2008 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc4617b9cfaf6ad714adf07bb45bc0cefd02e590;p=krb5.git * cr_tkt.c: Frob prototypes so they don't involve narrow types git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12529 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index cdf51ac37..bd0d20475 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,7 @@ +2000-07-03 Tom Yu + + * cr_tkt.c: Frob prototypes so they don't involve narrow types. + 2000-06-28 Ezra Peisach * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function diff --git a/src/lib/krb4/cr_tkt.c b/src/lib/krb4/cr_tkt.c index 7ed959f78..bb6b611f5 100644 --- a/src/lib/krb4/cr_tkt.c +++ b/src/lib/krb4/cr_tkt.c @@ -16,9 +16,9 @@ #include static int -krb_cr_tkt_int PROTOTYPE((KTEXT tkt, unsigned char flags, char *pname, +krb_cr_tkt_int PROTOTYPE((KTEXT tkt, unsigned int flags, char *pname, char *pinstance, char *prealm, long paddress, - char *session, short life, long time_sec, + char *session, int life, long time_sec, char *sname, char *sinstance, C_Block key, krb5_keyblock *k5key)); @@ -82,13 +82,13 @@ int krb_create_ticket(tkt, flags, pname, pinstance, prealm, paddress, session, life, time_sec, sname, sinstance, key, k5key) KTEXT tkt; /* Gets filled in by the ticket */ - unsigned char flags; /* Various Kerberos flags */ + unsigned int flags; /* Various Kerberos flags */ char *pname; /* Principal's name */ char *pinstance; /* Principal's instance */ char *prealm; /* Principal's authentication domain */ long paddress; /* Net address of requesting entity */ char *session; /* Session key inserted in ticket */ - short life; /* Lifetime of the ticket */ + int life; /* Lifetime of the ticket */ long time_sec; /* Issue time and date */ char *sname; /* Service Name */ char *sinstance; /* Instance Name */ @@ -103,13 +103,13 @@ int krb_cr_tkt_krb5(tkt, flags, pname, pinstance, prealm, paddress, session, life, time_sec, sname, sinstance, k5key) KTEXT tkt; /* Gets filled in by the ticket */ - unsigned char flags; /* Various Kerberos flags */ + unsigned int flags; /* Various Kerberos flags */ char *pname; /* Principal's name */ char *pinstance; /* Principal's instance */ char *prealm; /* Principal's authentication domain */ long paddress; /* Net address of requesting entity */ char *session; /* Session key inserted in ticket */ - short life; /* Lifetime of the ticket */ + int life; /* Lifetime of the ticket */ long time_sec; /* Issue time and date */ char *sname; /* Service Name */ char *sinstance; /* Instance Name */ @@ -126,13 +126,13 @@ static int krb_cr_tkt_int(tkt, flags, pname, pinstance, prealm, paddress, session, life, time_sec, sname, sinstance, key, k5key) KTEXT tkt; /* Gets filled in by the ticket */ - unsigned char flags; /* Various Kerberos flags */ + unsigned int flags; /* Various Kerberos flags */ char *pname; /* Principal's name */ char *pinstance; /* Principal's instance */ char *prealm; /* Principal's authentication domain */ long paddress; /* Net address of requesting entity */ char *session; /* Session key inserted in ticket */ - short life; /* Lifetime of the ticket */ + int life; /* Lifetime of the ticket */ long time_sec; /* Issue time and date */ char *sname; /* Service Name */ char *sinstance; /* Instance Name */