ssl_client2: Fix early data log

Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
Ronald Cron
2024-03-08 16:03:09 +01:00
parent 139a4185b1
commit 7201bc6b05
+7 -7
View File
@@ -3072,16 +3072,16 @@ reconnect:
frags++;
written += ret;
} while (written < len);
}
end_of_early_data:
buf[written] = '\0';
mbedtls_printf(
" %" MBEDTLS_PRINTF_SIZET " bytes of early data written in %" MBEDTLS_PRINTF_SIZET " fragments\n\n%s\n",
written,
frags,
(char *) buf);
buf[written] = '\0';
mbedtls_printf(
" %" MBEDTLS_PRINTF_SIZET " bytes of early data written in %" MBEDTLS_PRINTF_SIZET " fragments\n\n%s\n",
written,
frags,
(char *) buf);
}
#endif /* MBEDTLS_SSL_EARLY_DATA */
while ((ret = mbedtls_ssl_handshake(&ssl)) != 0) {