fail:
/* real failure code follows */
- if (ctx)
- (void) krb5_gss_delete_sec_context(minor_status,
- (gss_ctx_id_t *) &ctx, NULL);
+ (void) krb5_gss_delete_sec_context(minor_status, (gss_ctx_id_t *) &ctx,
+ NULL);
*context_handle = GSS_C_NO_CONTEXT;
*minor_status = code;
&ctx->subkey);
}
- if (k_cred) {
- krb5_free_creds(context, k_cred);
- k_cred = NULL;
- }
+ krb5_free_creds(context, k_cred);
+ k_cred = NULL;
ctx->enc = NULL;
ctx->seq = NULL;
ctx->have_acceptor_subkey = 0;
for (endp = modOptions;
*endp && *endp != ']'; endp++);
- if (endp)
- *endp = '\0';
-
+ *endp = '\0';
} else {
modOptions = NULL;
}