From 194af3ecf0403721f69833d5819c68fd6ec0d3ae Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 25 Jul 2008 20:33:17 +0000 Subject: [PATCH] pull up r20574 from trunk r20574@cathode-dark-space: jaltman | 2008-07-23 12:03:40 -0400 ticket: 5442 replace "exit" label with "done" ticket: 5442 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20582 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 bb0e2051a..fd8d5ba2e 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -905,7 +905,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 */ @@ -969,7 +969,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; @@ -977,7 +977,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); @@ -988,7 +988,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