replace "exit" label with "done"
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 23 Jul 2008 16:03:40 +0000 (16:03 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 23 Jul 2008 16:03:40 +0000 (16:03 +0000)
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

index bd53e29de38c6b13742b76cbcc642bf164f7db4a..54814d7a16122c8286c141c6855f8540ebb11435 100644 (file)
@@ -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);
    }