summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/callbackfailures.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/callbackfailures.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/callbackfailures.c')
-rw-r--r--src/regress/lib/libcrypto/x509/callbackfailures.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/callbackfailures.c b/src/regress/lib/libcrypto/x509/callbackfailures.c
index 53570e1532..9230122146 100644
--- a/src/regress/lib/libcrypto/x509/callbackfailures.c
+++ b/src/regress/lib/libcrypto/x509/callbackfailures.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: callbackfailures.c,v 1.2 2023/01/28 19:12:20 tb Exp $ */ 1/* $OpenBSD: callbackfailures.c,v 1.3 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>
@@ -167,7 +167,7 @@ verify_cert(const char *roots_dir, const char *roots_file,
167 167
168 verify_err = X509_STORE_CTX_get_error(xsc); 168 verify_err = X509_STORE_CTX_get_error(xsc);
169 if (verify_err == 0) 169 if (verify_err == 0)
170 errx(1, "Error unset on failure!\n"); 170 errx(1, "Error unset on failure!");
171 171
172 fprintf(stderr, "failed to verify at %d: %s\n", 172 fprintf(stderr, "failed to verify at %d: %s\n",
173 X509_STORE_CTX_get_error_depth(xsc), 173 X509_STORE_CTX_get_error_depth(xsc),