From 7d8995652ae010109a9c287007581f5b19992f62 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 15 Jul 2002 17:03:16 +0000 Subject: [PATCH] * k5unseal.c (kg_unseal): Pass unsigned int * instead of int * length return argument to g_verify_token_header. * accept_sec_context.c (krb5_gss_accept_sec_context): Pass OM_uint32 * instead of krb5_error_code * to krb5_gss_release_cred. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14652 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 8 ++++++++ src/lib/gssapi/krb5/accept_sec_context.c | 2 +- src/lib/gssapi/krb5/k5unseal.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index eb69c56a6..9111613a0 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,11 @@ +2002-07-15 Ezra Peisach + + * k5unseal.c (kg_unseal): Pass unsigned int * instead of int * + length return argument to g_verify_token_header. + + * accept_sec_context.c (krb5_gss_accept_sec_context): Pass + OM_uint32 * instead of krb5_error_code * to krb5_gss_release_cred. + 2002-07-14 Alexandra Ellwood * gssapi_krb5.h: Added #include of gssapi.h and gssapi_generic.h diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c index 49286d6ce..5ba8bc820 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -880,7 +880,7 @@ krb5_gss_accept_sec_context(minor_status, context_handle, *output_token = token; } if (!verifier_cred_handle && cred_handle) { - krb5_gss_release_cred(&code, cred_handle); + krb5_gss_release_cred(minor_status, cred_handle); } return (major_status); } diff --git a/src/lib/gssapi/krb5/k5unseal.c b/src/lib/gssapi/krb5/k5unseal.c index 405215379..d51c608e0 100644 --- a/src/lib/gssapi/krb5/k5unseal.c +++ b/src/lib/gssapi/krb5/k5unseal.c @@ -486,7 +486,7 @@ kg_unseal(context, minor_status, context_handle, input_token_buffer, { krb5_gss_ctx_id_rec *ctx; unsigned char *ptr; - int bodysize; + unsigned int bodysize; int err; /* validate the context handle */ -- 2.26.2