summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libcrypto/x509/policy/policy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/policy/policy.c b/src/regress/lib/libcrypto/x509/policy/policy.c
index 20b661563b..2fc484e4e3 100644
--- a/src/regress/lib/libcrypto/x509/policy/policy.c
+++ b/src/regress/lib/libcrypto/x509/policy/policy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: policy.c,v 1.4 2023/04/28 08:43:18 beck Exp $ */ 1/* $OpenBSD: policy.c,v 1.5 2023/04/28 08:45:50 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org>
@@ -141,7 +141,6 @@ verify_cert(const char *roots_file, const char *intermediate_file,
141 &bundle)) 141 &bundle))
142 errx(1, "failed to load intermediate from '%s'", 142 errx(1, "failed to load intermediate from '%s'",
143 intermediate_file); 143 intermediate_file);
144 printf ("%d certs %d roots\n", sk_X509_num(bundle), sk_X509_num(roots));
145 if (sk_X509_num(bundle) < 1) 144 if (sk_X509_num(bundle) < 1)
146 errx(1, "not enough certs in bundle"); 145 errx(1, "not enough certs in bundle");
147 leaf = sk_X509_shift(bundle); 146 leaf = sk_X509_shift(bundle);