From 13a9cbd1ffaf432f4acb8b6fa56f1f9b9a26a80f Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 23 Jan 2007 02:57:32 +0000 Subject: [PATCH] gss_krb5int_unseal_token_v3() - change bodysize argument to unsigned - which is consistent with how it is invoked and used. Cleans up two signed/unsigned warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19105 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/gssapiP_krb5.h | 3 ++- src/lib/gssapi/krb5/k5sealv3.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/krb5/gssapiP_krb5.h b/src/lib/gssapi/krb5/gssapiP_krb5.h index 8887a4ddf..86ec771e1 100644 --- a/src/lib/gssapi/krb5/gssapiP_krb5.h +++ b/src/lib/gssapi/krb5/gssapiP_krb5.h @@ -645,7 +645,8 @@ krb5_error_code gss_krb5int_make_seal_token_v3(krb5_context, OM_uint32 gss_krb5int_unseal_token_v3(krb5_context *contextptr, OM_uint32 *minor_status, krb5_gss_ctx_id_rec *ctx, - unsigned char *ptr, int bodysize, + unsigned char *ptr, + unsigned int bodysize, gss_buffer_t message_buffer, int *conf_state, int *qop_state, int toktype); diff --git a/src/lib/gssapi/krb5/k5sealv3.c b/src/lib/gssapi/krb5/k5sealv3.c index 2c084865e..4c6df2744 100644 --- a/src/lib/gssapi/krb5/k5sealv3.c +++ b/src/lib/gssapi/krb5/k5sealv3.c @@ -301,7 +301,7 @@ OM_uint32 gss_krb5int_unseal_token_v3(krb5_context *contextptr, OM_uint32 *minor_status, krb5_gss_ctx_id_rec *ctx, - unsigned char *ptr, int bodysize, + unsigned char *ptr, unsigned int bodysize, gss_buffer_t message_buffer, int *conf_state, int *qop_state, int toktype) { -- 2.26.2