summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_verify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_verify.c b/src/lib/libcrypto/x509/x509_verify.c
index 763adda227..76cc70a204 100644
--- a/src/lib/libcrypto/x509/x509_verify.c
+++ b/src/lib/libcrypto/x509/x509_verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_verify.c,v 1.22 2020/11/16 17:43:37 jsing Exp $ */ 1/* $OpenBSD: x509_verify.c,v 1.23 2020/11/18 17:13:55 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -488,7 +488,6 @@ x509_verify_build_chains(struct x509_verify_ctx *ctx, X509 *cert,
488 ctx->error = (depth == 0) ? 488 ctx->error = (depth == 0) ?
489 X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: 489 X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
490 X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN; 490 X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN;
491
492 } 491 }
493 492
494 for (i = 0; i < sk_X509_num(ctx->roots); i++) { 493 for (i = 0; i < sk_X509_num(ctx->roots); i++) {