X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Fdtls_mtu_test.c;h=415f69e244e8727a7666fc6cf3c68c8015587a9a;hp=50f952b2cea74c19506f7cc803d06d0b8a50cdc3;hb=bff951eeb1f86207ac02e0f73305c31ac0ab5f4f;hpb=8ed9a26616a7101ea698c189fbbb663186676075 diff --git a/test/dtls_mtu_test.c b/test/dtls_mtu_test.c index 50f952b2ce..415f69e244 100644 --- a/test/dtls_mtu_test.c +++ b/test/dtls_mtu_test.c @@ -73,7 +73,7 @@ static int mtu_test(SSL_CTX *ctx, const char *cs, int no_etm) goto end; if (debug) - printf("Channel established\n"); + TEST_info("Channel established"); /* For record MTU values between 500 and 539, call DTLS_get_data_mtu() * to query the payload MTU which will fit. */ @@ -104,7 +104,7 @@ static int mtu_test(SSL_CTX *ctx, const char *cs, int no_etm) goto end; reclen = BIO_read(sc_bio, buf, sizeof(buf)); if (debug) - printf("record %"OSSLzu" for payload %"OSSLzu"\n", reclen, s); + TEST_info("record %zu for payload %zu", reclen, s); for (i = 0; i < 30; i++) { /* DTLS_get_data_mtu() with record MTU 500+i returned mtus[i] ... */