summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2002-07-15 17:03:31 +0000
committerEzra Peisach <epeisach@mit.edu>2002-07-15 17:03:31 +0000
commitd893fa64aae8130d590a77825aef2189f08d4645 (patch)
treedb38f5694a623d82c9feedf18a59b8f92c1e36a0 /src
parent7d8995652ae010109a9c287007581f5b19992f62 (diff)
downloadkrb5-d893fa64aae8130d590a77825aef2189f08d4645.tar.gz
krb5-d893fa64aae8130d590a77825aef2189f08d4645.tar.xz
krb5-d893fa64aae8130d590a77825aef2189f08d4645.zip
* gssapiP_generic.h, util_token.c (g_verify_token_header): Make
length argument a pointer to an unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14653 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/gssapi/generic/ChangeLog5
-rw-r--r--src/lib/gssapi/generic/gssapiP_generic.h2
-rw-r--r--src/lib/gssapi/generic/util_token.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog
index a446cc9cdf..3257fd23a7 100644
--- a/src/lib/gssapi/generic/ChangeLog
+++ b/src/lib/gssapi/generic/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-15 Ezra Peisach <epeisach@bu.edu>
+
+ * gssapiP_generic.h, util_token.c (g_verify_token_header): Make
+ length argument a pointer to an unsigned int.
+
2002-07-12 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (SRCS, OBJS, STLIBOBJS): Don't build util_dup.c.
diff --git a/src/lib/gssapi/generic/gssapiP_generic.h b/src/lib/gssapi/generic/gssapiP_generic.h
index 81049a5064..7e3d1a68bc 100644
--- a/src/lib/gssapi/generic/gssapiP_generic.h
+++ b/src/lib/gssapi/generic/gssapiP_generic.h
@@ -158,7 +158,7 @@ int g_token_size (gss_OID mech, unsigned int body_size);
void g_make_token_header (gss_OID mech, int body_size,
unsigned char **buf, int tok_type);
-gss_int32 g_verify_token_header (gss_OID mech, int *body_size,
+gss_int32 g_verify_token_header (gss_OID mech, unsigned int *body_size,
unsigned char **buf, int tok_type, int toksize);
OM_uint32 g_display_major_status (OM_uint32 *minor_status,
diff --git a/src/lib/gssapi/generic/util_token.c b/src/lib/gssapi/generic/util_token.c
index 6dd2c379f6..b8719c0cda 100644
--- a/src/lib/gssapi/generic/util_token.c
+++ b/src/lib/gssapi/generic/util_token.c
@@ -163,7 +163,7 @@ void g_make_token_header(mech, body_size, buf, tok_type)
*/
gss_int32 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize)
gss_OID mech;
- int *body_size;
+ unsigned int *body_size;
unsigned char **buf_in;
int tok_type;
int toksize;