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