* cr_tkt.c: Frob prototypes so they don't involve narrow types
authorTom Yu <tlyu@mit.edu>
Tue, 4 Jul 2000 01:19:12 +0000 (01:19 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 4 Jul 2000 01:19:12 +0000 (01:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12529 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/cr_tkt.c

index cdf51ac37cb9b6c078877394c5b608dfcf3e5302..bd0d204758fec79a6b4a50740276ab39d658448f 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-03  Tom Yu  <tlyu@mit.edu>
+
+       * cr_tkt.c: Frob prototypes so they don't involve narrow types.
+
 2000-06-28  Ezra Peisach  <epeisach@mit.edu>
 
        * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function
index 7ed959f78bba224e67c12493fd9be04ec56a02e6..bb6b611f53366b90bfc8083eaafecafa3d89cff0 100644 (file)
@@ -16,9 +16,9 @@
 #include <krb5.h>
 
 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 */