From fa699f744f690ecb17f06bdd1745c5cbaad43976 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 10 May 2026 14:08:02 +0000 Subject: rsa_padding_test: %i -> %d --- src/regress/lib/libcrypto/rsa/rsa_padding_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/rsa/rsa_padding_test.c b/src/regress/lib/libcrypto/rsa/rsa_padding_test.c index 1b3a0ba1e5..45d4a3fefa 100644 --- a/src/regress/lib/libcrypto/rsa/rsa_padding_test.c +++ b/src/regress/lib/libcrypto/rsa/rsa_padding_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa_padding_test.c,v 1.2 2024/03/30 02:20:39 jsing Exp $ */ +/* $OpenBSD: rsa_padding_test.c,v 1.3 2026/05/10 14:08:02 tb Exp $ */ /* * Copyright (c) 2024 Joel Sing * @@ -174,7 +174,7 @@ test_pkcs1_type1(void) err = ERR_peek_error(); if (pt->want == -1 && ERR_GET_REASON(err) != pt->want_error) { fprintf(stderr, "FAIL: test %zu - PKCS1 type 1 padding " - "check failed with error reason %i, want %i\n", + "check failed with error reason %d, want %d\n", i, ERR_GET_REASON(err), pt->want_error); ERR_print_errors_fp(stderr); goto failed; @@ -310,7 +310,7 @@ test_pkcs1_type2(void) err = ERR_peek_error(); if (pt->want == -1 && ERR_GET_REASON(err) != pt->want_error) { fprintf(stderr, "FAIL: test %zu - PKCS1 type 2 padding " - "check failed with error reason %i, want %i\n", + "check failed with error reason %d, want %d\n", i, ERR_GET_REASON(err), pt->want_error); ERR_print_errors_fp(stderr); goto failed; -- cgit v1.2.3-55-g6feb