12 lines
507 B
Diff
12 lines
507 B
Diff
--- deps/openssl/openssl/crypto/x509/x509_vfy.c
|
|
+++ deps/openssl/openssl/crypto/x509/x509_vfy.c
|
|
@@ -392,8 +392,8 @@ int X509_verify_cert(X509_STORE_CTX *ctx)
|
|
xtmp = sk_X509_pop(ctx->chain);
|
|
X509_free(xtmp);
|
|
num--;
|
|
- ctx->last_untrusted--;
|
|
}
|
|
+ ctx->last_untrusted = sk_X509_num(ctx->chain);
|
|
retry = 1;
|
|
break;
|
|
}
|