summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/x509/callback.c')
-rw-r--r--src/regress/lib/libcrypto/x509/callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/callback.c b/src/regress/lib/libcrypto/x509/callback.c
index a01ffd5d6f..c4d1575ae8 100644
--- a/src/regress/lib/libcrypto/x509/callback.c
+++ b/src/regress/lib/libcrypto/x509/callback.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: callback.c,v 1.4 2023/01/28 19:12:20 tb Exp $ */ 1/* $OpenBSD: callback.c,v 1.5 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-2021 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org>
@@ -158,7 +158,7 @@ verify_cert(const char *roots_dir, const char *roots_file,
158 158
159 verify_err = X509_STORE_CTX_get_error(xsc); 159 verify_err = X509_STORE_CTX_get_error(xsc);
160 if (verify_err == 0) 160 if (verify_err == 0)
161 errx(1, "Error unset on failure!\n"); 161 errx(1, "Error unset on failure!");
162 162
163 fprintf(stderr, "failed to verify at %d: %s\n", 163 fprintf(stderr, "failed to verify at %d: %s\n",
164 X509_STORE_CTX_get_error_depth(xsc), 164 X509_STORE_CTX_get_error_depth(xsc),