From 37b0068943e39b3aceb9f9069c9249d20e5b9da5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 29 Jul 2026 02:08:31 +0000 Subject: verify test: print size_t with %zu --- src/regress/lib/libcrypto/x509/verify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: verify.c,v 1.16 2026/05/04 13:52:39 tb Exp $ */ +/* $OpenBSD: verify.c,v 1.17 2026/07/29 02:08:31 tb Exp $ */ /* * Copyright (c) 2020 Joel Sing * Copyright (c) 2020-2021 Bob Beck @@ -257,7 +257,7 @@ verify_cert_new(const char *roots_file, const char *bundle_file, int *chains, } if ((*chains = x509_verify(ctx, leaf, NULL)) == 0) { - fprintf(stderr, "failed to verify at %lu: %s\n", + fprintf(stderr, "failed to verify at %zu: %s\n", x509_verify_ctx_error_depth(ctx), x509_verify_ctx_error_string(ctx)); } else { -- cgit v1.2.3-55-g6feb