From 40327b7fe355a2dc5857050d06bc0c0e4206f177 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Tue, 23 Dec 2025 14:45:36 -0500 Subject: [PATCH] Binary consts to hexidecimal. C2X feature. --- tests/api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/api.c b/tests/api.c index 1a3162b24..ae0d7305c 100644 --- a/tests/api.c +++ b/tests/api.c @@ -12043,7 +12043,7 @@ static int test_wolfSSL_dtls_export_peers(void) }; for (i = 0; i < sizeof(params)/sizeof(*params); i++) { - for (j = 0; j <= 0b11; j++) { + for (j = 0; j <= 3; j++) { XMEMSET(&client_cbf, 0, sizeof(client_cbf)); XMEMSET(&server_cbf, 0, sizeof(server_cbf)); @@ -12052,12 +12052,12 @@ static int test_wolfSSL_dtls_export_peers(void) client_cbf.method = params[i].client_meth; server_cbf.method = params[i].server_meth; - if (j & 0b01) { + if (j & 0x1) { client_cbf.on_handshake = test_wolfSSL_dtls_export_peers_on_handshake; printf(" With client export;"); } - if (j & 0b10) { + if (j & 0x2) { server_cbf.on_handshake = test_wolfSSL_dtls_export_peers_on_handshake; printf(" With server export;");