Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use of bitfield unsupported by Windows compilers #508

Merged
merged 6 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/picotls.h
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,11 @@ struct st_ptls_context_t {
*/
struct {
uint8_t bytes[PTLS_SHA256_DIGEST_SIZE];
#ifdef _WINDOWS
unsigned int is_set : 1;
#else
uint8_t is_set : 1;
#endif
huitema marked this conversation as resolved.
Show resolved Hide resolved
} ticket_context;
/**
* (optional) list of CAs advertised to clients as supported in the CertificateRequest message; each item must be DNs in DER
Expand Down
1 change: 0 additions & 1 deletion t/mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ static void test_key_exchanges(void)
subtest("x25519", test_x25519);
}

<
DEFINE_FFX_AES128_ALGORITHMS(mbedtls);
DEFINE_FFX_CHACHA20_ALGORITHMS(mbedtls);

Expand Down
Loading