From d893fa64aae8130d590a77825aef2189f08d4645 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 15 Jul 2002 17:03:31 +0000 Subject: [PATCH] * 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 --- src/lib/gssapi/generic/ChangeLog | 5 +++++ src/lib/gssapi/generic/gssapiP_generic.h | 2 +- src/lib/gssapi/generic/util_token.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index a446cc9cd..3257fd23a 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,8 @@ +2002-07-15 Ezra Peisach + + * gssapiP_generic.h, util_token.c (g_verify_token_header): Make + length argument a pointer to an unsigned int. + 2002-07-12 Ken Raeburn * 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 81049a506..7e3d1a68b 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 6dd2c379f..b8719c0cd 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; -- 2.26.2