diff options
| author | tb <> | 2022-06-10 22:00:15 +0000 |
|---|---|---|
| committer | tb <> | 2022-06-10 22:00:15 +0000 |
| commit | a4e7780cc02bb9478301ba07f24a4d66c9b6beb1 (patch) | |
| tree | 7a944539218f0b64a71eb5ad4086e87c03970745 /src/regress/lib/libssl/buffer | |
| parent | 354ddd0b04f9e20dc68389faaec86b42d24d86a1 (diff) | |
| download | openbsd-a4e7780cc02bb9478301ba07f24a4d66c9b6beb1.tar.gz openbsd-a4e7780cc02bb9478301ba07f24a4d66c9b6beb1.tar.bz2 openbsd-a4e7780cc02bb9478301ba07f24a4d66c9b6beb1.zip | |
More %i vs %d cleanup
Diffstat (limited to 'src/regress/lib/libssl/buffer')
| -rw-r--r-- | src/regress/lib/libssl/buffer/buffertest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/buffer/buffertest.c b/src/regress/lib/libssl/buffer/buffertest.c index 80b3b98d68..45742dec4e 100644 --- a/src/regress/lib/libssl/buffer/buffertest.c +++ b/src/regress/lib/libssl/buffer/buffertest.c | |||
| @@ -122,15 +122,15 @@ main(int argc, char **argv) | |||
| 122 | 122 | ||
| 123 | ret = tls_buffer_extend(buf, et->extend_len, read_cb, &rs); | 123 | ret = tls_buffer_extend(buf, et->extend_len, read_cb, &rs); |
| 124 | if (ret != extend_tests[i].want_ret) { | 124 | if (ret != extend_tests[i].want_ret) { |
| 125 | fprintf(stderr, "FAIL: Test %zi - extend returned %zi, " | 125 | fprintf(stderr, "FAIL: Test %zd - extend returned %zd, " |
| 126 | "want %zi\n", i, ret, et->want_ret); | 126 | "want %zd\n", i, ret, et->want_ret); |
| 127 | return 1; | 127 | return 1; |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | tls_buffer_cbs(buf, &cbs); | 130 | tls_buffer_cbs(buf, &cbs); |
| 131 | 131 | ||
| 132 | if (!CBS_mem_equal(&cbs, testdata, CBS_len(&cbs))) { | 132 | if (!CBS_mem_equal(&cbs, testdata, CBS_len(&cbs))) { |
| 133 | fprintf(stderr, "FAIL: Test %zi - extend buffer " | 133 | fprintf(stderr, "FAIL: Test %zd - extend buffer " |
| 134 | "mismatch", i); | 134 | "mismatch", i); |
| 135 | return 1; | 135 | return 1; |
| 136 | } | 136 | } |
