summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/callback.c
diff options
context:
space:
mode:
authoranton <>2024-08-23 12:56:26 +0000
committeranton <>2024-08-23 12:56:26 +0000
commit56917f3bcb61bebc42b4cdbb89e6e6bdefe00e06 (patch)
tree82c161d2c7fabe4bd4e52ad455006b0476f08e3e /src/regress/lib/libcrypto/x509/callback.c
parent9f36be6501ec7fb1d11687ff58c3e992193af31e (diff)
downloadopenbsd-56917f3bcb61bebc42b4cdbb89e6e6bdefe00e06.tar.gz
openbsd-56917f3bcb61bebc42b4cdbb89e6e6bdefe00e06.tar.bz2
openbsd-56917f3bcb61bebc42b4cdbb89e6e6bdefe00e06.zip
Remove unwanted trailing newlines from err/warn format strings.
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),