aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb4/cr_tkt.c
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-07-04 01:19:12 +0000
committerTom Yu <tlyu@mit.edu>2000-07-04 01:19:12 +0000
commitbc4617b9cfaf6ad714adf07bb45bc0cefd02e590 (patch)
treef7ce09ce1660b11fbbe5630cfa4f6798065fc4ff /src/lib/krb4/cr_tkt.c
parent65ceac3da0ea189682729ed001577b59a13cc80b (diff)
downloadkrb5-bc4617b9cfaf6ad714adf07bb45bc0cefd02e590.zip
krb5-bc4617b9cfaf6ad714adf07bb45bc0cefd02e590.tar.gz
krb5-bc4617b9cfaf6ad714adf07bb45bc0cefd02e590.tar.bz2
* 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
Diffstat (limited to 'src/lib/krb4/cr_tkt.c')
-rw-r--r--src/lib/krb4/cr_tkt.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/krb4/cr_tkt.c b/src/lib/krb4/cr_tkt.c
index 7ed959f..bb6b611 100644
--- a/src/lib/krb4/cr_tkt.c
+++ b/src/lib/krb4/cr_tkt.c
@@ -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 */