summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/policy/policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/x509/policy/policy.c')
-rw-r--r--src/regress/lib/libcrypto/x509/policy/policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/policy/policy.c b/src/regress/lib/libcrypto/x509/policy/policy.c
index f5c9700b2b..17ac78dd23 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.12 2023/06/02 08:35:10 tb Exp $ */ 1/* $OpenBSD: policy.c,v 1.13 2024/08/23 12:56:26 anton 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-2023 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2020-2023 Bob Beck <beck@openbsd.org>
@@ -182,7 +182,7 @@ verify_cert(const char *roots_file, const char *intermediate_file,
182 } 182 }
183 183
184 if (*error == 0) 184 if (*error == 0)
185 errx(1, "Error unset on failure!\n"); 185 errx(1, "Error unset on failure!");
186 186
187 fprintf(stderr, "failed to verify at %d: %s\n", 187 fprintf(stderr, "failed to verify at %d: %s\n",
188 *error_depth, X509_verify_cert_error_string(*error)); 188 *error_depth, X509_verify_cert_error_string(*error));