From cf140674b10ca9265e88bfeea96beeeffdaaa1ad Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 29 Dec 2009 18:03:31 +0000 Subject: [PATCH] Remove an inoperable error check in return_pkinit_kx git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23536 dc483132-0cff-0310-8789-dd5450dbe970 --- src/plugins/preauth/pkinit/pkinit_srv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/preauth/pkinit/pkinit_srv.c b/src/plugins/preauth/pkinit/pkinit_srv.c index 9db4d0a46..ecd49b59f 100644 --- a/src/plugins/preauth/pkinit/pkinit_srv.c +++ b/src/plugins/preauth/pkinit/pkinit_srv.c @@ -639,8 +639,6 @@ return_pkinit_kx(krb5_context context, krb5_kdc_req *request, ret = ENOMEM; goto cleanup; } - if (ret) - goto cleanup; pa->pa_type = KRB5_PADATA_PKINIT_KX; pa->length = scratch->length; pa->contents = (krb5_octet *) scratch->data; -- 2.26.2