From: Theodore Tso Date: Thu, 25 Jul 1996 00:40:43 +0000 (+0000) Subject: util_token.c (g_verify_token_header): Changed return code to be an X-Git-Tag: krb5-1.0-beta7~271 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e07310be053acb5fd1d2effb08b35b6ee67830fb;p=krb5.git util_token.c (g_verify_token_header): Changed return code to be an unsigned int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8811 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index ebafc0fe3..ef8a6711f 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,5 +1,8 @@ Wed Jul 24 18:48:43 1996 Theodore Y. Ts'o + * util_token.c (g_verify_token_header): Changed return code to be + an unsigned int 32, since we return a com_err error code. + * rel_buffer.c (generic_gss_release_buffer): * rel_oid_set.c (generic_gss_release_oid_set): Remove INTERFACE keyworded; not needed (and causes problems) since we're diff --git a/src/lib/gssapi/generic/gssapiP_generic.h b/src/lib/gssapi/generic/gssapiP_generic.h index 55b9f7149..f2c060142 100644 --- a/src/lib/gssapi/generic/gssapiP_generic.h +++ b/src/lib/gssapi/generic/gssapiP_generic.h @@ -121,7 +121,7 @@ int g_token_size PROTOTYPE((gss_OID mech, unsigned int body_size)); void g_make_token_header PROTOTYPE((gss_OID mech, int body_size, unsigned char **buf, int tok_type)); -int g_verify_token_header PROTOTYPE((gss_OID mech, int *body_size, +gss_uint32 g_verify_token_header PROTOTYPE((gss_OID mech, int *body_size, unsigned char **buf, int tok_type, int toksize)); OM_uint32 g_display_major_status PROTOTYPE((OM_uint32 *minor_status, diff --git a/src/lib/gssapi/generic/util_token.c b/src/lib/gssapi/generic/util_token.c index 027d2a765..fe02c0e50 100644 --- a/src/lib/gssapi/generic/util_token.c +++ b/src/lib/gssapi/generic/util_token.c @@ -159,7 +159,7 @@ void g_make_token_header(mech, body_size, buf, tok_type) * mechanism in the token does not match the mech argument. buf and * *body_size are left unmodified on error. */ -int g_verify_token_header(mech, body_size, buf_in, tok_type, toksize) +gss_uint32 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize) gss_OID mech; int *body_size; unsigned char **buf_in;