summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2026-07-29 02:08:31 +0000
committertb <>2026-07-29 02:08:31 +0000
commit37b0068943e39b3aceb9f9069c9249d20e5b9da5 (patch)
treeef2e21eac7355741bfa10a5275a7e8b25d3c4b1d /src
parent970b3c4063bdb55b460731b31ebbec39c0750970 (diff)
downloadopenbsd-37b0068943e39b3aceb9f9069c9249d20e5b9da5.tar.gz
openbsd-37b0068943e39b3aceb9f9069c9249d20e5b9da5.tar.bz2
openbsd-37b0068943e39b3aceb9f9069c9249d20e5b9da5.zip
verify test: print size_t with %zu
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/x509/verify.c4
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 8696209922..17e7251d0d 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.16 2026/05/04 13:52:39 tb Exp $ */ 1/* $OpenBSD: verify.c,v 1.17 2026/07/29 02:08:31 tb 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>
@@ -257,7 +257,7 @@ verify_cert_new(const char *roots_file, const char *bundle_file, int *chains,
257 } 257 }
258 258
259 if ((*chains = x509_verify(ctx, leaf, NULL)) == 0) { 259 if ((*chains = x509_verify(ctx, leaf, NULL)) == 0) {
260 fprintf(stderr, "failed to verify at %lu: %s\n", 260 fprintf(stderr, "failed to verify at %zu: %s\n",
261 x509_verify_ctx_error_depth(ctx), 261 x509_verify_ctx_error_depth(ctx),
262 x509_verify_ctx_error_string(ctx)); 262 x509_verify_ctx_error_string(ctx));
263 } else { 263 } else {