diff options
author | tb <> | 2022-06-10 22:00:15 +0000 |
---|---|---|
committer | tb <> | 2022-06-10 22:00:15 +0000 |
commit | ee4a41a6ea3f5b281b0e7cbd0c5cb4d945fc6026 (patch) | |
tree | 7a944539218f0b64a71eb5ad4086e87c03970745 /src/regress/lib/libssl/client/clienttest.c | |
parent | d65646bbcacf3f7648d032597bbf00f0ef8cf1c3 (diff) | |
download | openbsd-ee4a41a6ea3f5b281b0e7cbd0c5cb4d945fc6026.tar.gz openbsd-ee4a41a6ea3f5b281b0e7cbd0c5cb4d945fc6026.tar.bz2 openbsd-ee4a41a6ea3f5b281b0e7cbd0c5cb4d945fc6026.zip |
More %i vs %d cleanup
Diffstat (limited to 'src/regress/lib/libssl/client/clienttest.c')
-rw-r--r-- | src/regress/lib/libssl/client/clienttest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/client/clienttest.c b/src/regress/lib/libssl/client/clienttest.c index 754fe3ae6e..be508bcf50 100644 --- a/src/regress/lib/libssl/client/clienttest.c +++ b/src/regress/lib/libssl/client/clienttest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clienttest.c,v 1.36 2021/11/20 16:32:55 tb Exp $ */ | 1 | /* $OpenBSD: clienttest.c,v 1.37 2022/06/10 22:00:15 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -628,7 +628,7 @@ client_hello_test(int testno, const struct client_hello_test *cht) | |||
628 | int ret = 1; | 628 | int ret = 1; |
629 | long len; | 629 | long len; |
630 | 630 | ||
631 | fprintf(stderr, "Test %i - %s\n", testno, cht->desc); | 631 | fprintf(stderr, "Test %d - %s\n", testno, cht->desc); |
632 | 632 | ||
633 | /* Providing a small buf causes *_get_server_hello() to return. */ | 633 | /* Providing a small buf causes *_get_server_hello() to return. */ |
634 | if ((rbio = BIO_new_mem_buf(rbuf, sizeof(rbuf))) == NULL) { | 634 | if ((rbio = BIO_new_mem_buf(rbuf, sizeof(rbuf))) == NULL) { |
@@ -668,7 +668,7 @@ client_hello_test(int testno, const struct client_hello_test *cht) | |||
668 | errx(1, "failed to make client hello"); | 668 | errx(1, "failed to make client hello"); |
669 | 669 | ||
670 | if ((size_t)len != client_hello_len) { | 670 | if ((size_t)len != client_hello_len) { |
671 | fprintf(stderr, "FAIL: test returned ClientHello length %li, " | 671 | fprintf(stderr, "FAIL: test returned ClientHello length %ld, " |
672 | "want %zu\n", len, client_hello_len); | 672 | "want %zu\n", len, client_hello_len); |
673 | fprintf(stderr, "received:\n"); | 673 | fprintf(stderr, "received:\n"); |
674 | hexdump(wbuf, len, NULL); | 674 | hexdump(wbuf, len, NULL); |