From a235f8ceecac6b7e312710bebf068a2c367247b7 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 23 Jul 2008 16:03:40 +0000 Subject: [PATCH] replace "exit" label with "done" ticket: 5442 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20574 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/accept_sec_context.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c index bd53e29de..54814d7a1 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -907,7 +907,7 @@ krb5_gss_accept_sec_context(minor_status, context_handle, if (!GSS_ERROR(major_status) && major_status != GSS_S_CONTINUE_NEEDED) { ctx->k5_context = context; context = NULL; - goto exit; + goto done; } /* from here on is the real "fail" code */ @@ -971,7 +971,7 @@ krb5_gss_accept_sec_context(minor_status, context_handle, code = krb5_mk_error(context, &krb_error_data, &scratch); if (code) - goto exit; + goto done; tmsglen = scratch.length; toktype = KG_TOK_CTX_ERROR; @@ -979,7 +979,7 @@ krb5_gss_accept_sec_context(minor_status, context_handle, token.length = g_token_size(mech_used, tmsglen); token.value = (unsigned char *) xmalloc(token.length); if (!token.value) - goto exit; + goto done; ptr = token.value; g_make_token_header(mech_used, tmsglen, &ptr, toktype); @@ -990,7 +990,7 @@ krb5_gss_accept_sec_context(minor_status, context_handle, *output_token = token; } - exit: + done: if (!verifier_cred_handle && cred_handle) { krb5_gss_release_cred(&tmp_minor_status, &cred_handle); } -- 2.26.2