summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/x509')
-rw-r--r--src/regress/lib/libcrypto/x509/callback.c4
-rw-r--r--src/regress/lib/libcrypto/x509/callbackfailures.c4
-rw-r--r--src/regress/lib/libcrypto/x509/expirecallback.c4
-rw-r--r--src/regress/lib/libcrypto/x509/policy/policy.c4
-rw-r--r--src/regress/lib/libcrypto/x509/verify.c4
5 files changed, 10 insertions, 10 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),
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),
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));
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));
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));