diff options
| author | tb <> | 2026-05-10 14:08:02 +0000 |
|---|---|---|
| committer | tb <> | 2026-05-10 14:08:02 +0000 |
| commit | fa699f744f690ecb17f06bdd1745c5cbaad43976 (patch) | |
| tree | a1b30281178b0c6f6941d198c7996d2bb8001481 /src/regress | |
| parent | eeb5dd1a721e10a3bb519d66332382e44818f75a (diff) | |
| download | openbsd-fa699f744f690ecb17f06bdd1745c5cbaad43976.tar.gz openbsd-fa699f744f690ecb17f06bdd1745c5cbaad43976.tar.bz2 openbsd-fa699f744f690ecb17f06bdd1745c5cbaad43976.zip | |
rsa_padding_test: %i -> %d
Diffstat (limited to 'src/regress')
| -rw-r--r-- | src/regress/lib/libcrypto/rsa/rsa_padding_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
| 1 | /* $OpenBSD: rsa_padding_test.c,v 1.2 2024/03/30 02:20:39 jsing Exp $ */ | 1 | /* $OpenBSD: rsa_padding_test.c,v 1.3 2026/05/10 14:08:02 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -174,7 +174,7 @@ test_pkcs1_type1(void) | |||
| 174 | err = ERR_peek_error(); | 174 | err = ERR_peek_error(); |
| 175 | if (pt->want == -1 && ERR_GET_REASON(err) != pt->want_error) { | 175 | if (pt->want == -1 && ERR_GET_REASON(err) != pt->want_error) { |
| 176 | fprintf(stderr, "FAIL: test %zu - PKCS1 type 1 padding " | 176 | fprintf(stderr, "FAIL: test %zu - PKCS1 type 1 padding " |
| 177 | "check failed with error reason %i, want %i\n", | 177 | "check failed with error reason %d, want %d\n", |
| 178 | i, ERR_GET_REASON(err), pt->want_error); | 178 | i, ERR_GET_REASON(err), pt->want_error); |
| 179 | ERR_print_errors_fp(stderr); | 179 | ERR_print_errors_fp(stderr); |
| 180 | goto failed; | 180 | goto failed; |
| @@ -310,7 +310,7 @@ test_pkcs1_type2(void) | |||
| 310 | err = ERR_peek_error(); | 310 | err = ERR_peek_error(); |
| 311 | if (pt->want == -1 && ERR_GET_REASON(err) != pt->want_error) { | 311 | if (pt->want == -1 && ERR_GET_REASON(err) != pt->want_error) { |
| 312 | fprintf(stderr, "FAIL: test %zu - PKCS1 type 2 padding " | 312 | fprintf(stderr, "FAIL: test %zu - PKCS1 type 2 padding " |
| 313 | "check failed with error reason %i, want %i\n", | 313 | "check failed with error reason %d, want %d\n", |
| 314 | i, ERR_GET_REASON(err), pt->want_error); | 314 | i, ERR_GET_REASON(err), pt->want_error); |
| 315 | ERR_print_errors_fp(stderr); | 315 | ERR_print_errors_fp(stderr); |
| 316 | goto failed; | 316 | goto failed; |
