Commit 50078051 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Really get X509_CRL_CHECK_ALL right this time...

parent db017469
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -453,9 +453,9 @@ static int check_revocation(X509_STORE_CTX *ctx)
	if (!(ctx->flags & X509_V_FLAG_CRL_CHECK))
		return 1;
	if (ctx->flags & X509_V_FLAG_CRL_CHECK_ALL)
		last = 0;
	else
		last = sk_X509_num(ctx->chain) - 1;
	else
		last = 0;
	for(i = 0; i <= last; i++)
		{
		ctx->error_depth = i;