diff options
| author | anton <> | 2024-08-23 12:56:26 +0000 |
|---|---|---|
| committer | anton <> | 2024-08-23 12:56:26 +0000 |
| commit | 59a63e5d5b4880e7c8d59b13e37550a4af4f1274 (patch) | |
| tree | 82c161d2c7fabe4bd4e52ad455006b0476f08e3e /src/regress/lib/libcrypto/x509/expirecallback.c | |
| parent | 4103c2fdbcd67fe84e84eded3e8e108b617b3609 (diff) | |
| download | openbsd-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/expirecallback.c')
| -rw-r--r-- | src/regress/lib/libcrypto/x509/expirecallback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/expirecallback.c b/src/regress/lib/libcrypto/x509/expirecallback.c index 88cef6fd01..bd3f568f86 100644 --- a/src/regress/lib/libcrypto/x509/expirecallback.c +++ b/src/regress/lib/libcrypto/x509/expirecallback.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: expirecallback.c,v 1.3 2023/01/28 19:12:20 tb Exp $ */ | 1 | /* $OpenBSD: expirecallback.c,v 1.4 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> |
| @@ -172,7 +172,7 @@ verify_cert(const char *roots_dir, const char *roots_file, | |||
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | if (*error == 0) | 174 | if (*error == 0) |
| 175 | errx(1, "Error unset on failure!\n"); | 175 | errx(1, "Error unset on failure!"); |
| 176 | 176 | ||
| 177 | fprintf(stderr, "failed to verify at %d: %s\n", | 177 | fprintf(stderr, "failed to verify at %d: %s\n", |
| 178 | *error_depth, X509_verify_cert_error_string(*error)); | 178 | *error_depth, X509_verify_cert_error_string(*error)); |
