diff options
author | anton <> | 2024-08-23 12:56:26 +0000 |
---|---|---|
committer | anton <> | 2024-08-23 12:56:26 +0000 |
commit | 56917f3bcb61bebc42b4cdbb89e6e6bdefe00e06 (patch) | |
tree | 82c161d2c7fabe4bd4e52ad455006b0476f08e3e /src/regress/lib/libcrypto/x509/verify.c | |
parent | 9f36be6501ec7fb1d11687ff58c3e992193af31e (diff) | |
download | openbsd-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/verify.c')
-rw-r--r-- | src/regress/lib/libcrypto/x509/verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/verify.c b/src/regress/lib/libcrypto/x509/verify.c index e49180f7f1..b4b4e06cf7 100644 --- a/src/regress/lib/libcrypto/x509/verify.c +++ b/src/regress/lib/libcrypto/x509/verify.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: verify.c,v 1.11 2023/01/28 19:12:20 tb Exp $ */ | 1 | /* $OpenBSD: verify.c,v 1.12 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> |
@@ -162,7 +162,7 @@ verify_cert(const char *roots_dir, const char *roots_file, | |||
162 | } | 162 | } |
163 | 163 | ||
164 | if (*error == 0) | 164 | if (*error == 0) |
165 | errx(1, "Error unset on failure!\n"); | 165 | errx(1, "Error unset on failure!"); |
166 | 166 | ||
167 | fprintf(stderr, "failed to verify at %d: %s\n", | 167 | fprintf(stderr, "failed to verify at %d: %s\n", |
168 | *error_depth, X509_verify_cert_error_string(*error)); | 168 | *error_depth, X509_verify_cert_error_string(*error)); |