RT2841: Extra return in check_issued
authorPaul Suhler <Paul.Suhler@quantum.com>
Mon, 8 Sep 2014 22:34:48 +0000 (18:34 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 8 Sep 2014 22:50:07 +0000 (18:50 -0400)
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
crypto/x509/x509_vfy.c

index 85aa1133f81db0496290c3e0d5b1feae24476263..88bff6366ff1c8b1e92ab7504d666479bf6f550b 100644 (file)
@@ -520,7 +520,6 @@ static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer)
        ctx->current_cert = x;
        ctx->current_issuer = issuer;
        return ctx->verify_cb(0, ctx);
-       return 0;
 }
 
 /* Alternative lookup method: look from a STACK stored in other_ctx */