Skip to content

Commit 40327b7

Browse files
committed
Binary consts to hexidecimal. C2X feature.
1 parent c03c2dd commit 40327b7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/api.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12043,7 +12043,7 @@ static int test_wolfSSL_dtls_export_peers(void)
1204312043
};
1204412044

1204512045
for (i = 0; i < sizeof(params)/sizeof(*params); i++) {
12046-
for (j = 0; j <= 0b11; j++) {
12046+
for (j = 0; j <= 3; j++) {
1204712047
XMEMSET(&client_cbf, 0, sizeof(client_cbf));
1204812048
XMEMSET(&server_cbf, 0, sizeof(server_cbf));
1204912049

@@ -12052,12 +12052,12 @@ static int test_wolfSSL_dtls_export_peers(void)
1205212052
client_cbf.method = params[i].client_meth;
1205312053
server_cbf.method = params[i].server_meth;
1205412054

12055-
if (j & 0b01) {
12055+
if (j & 0x1) {
1205612056
client_cbf.on_handshake =
1205712057
test_wolfSSL_dtls_export_peers_on_handshake;
1205812058
printf(" With client export;");
1205912059
}
12060-
if (j & 0b10) {
12060+
if (j & 0x2) {
1206112061
server_cbf.on_handshake =
1206212062
test_wolfSSL_dtls_export_peers_on_handshake;
1206312063
printf(" With server export;");

0 commit comments

Comments
 (0)