commit | 8822c258d6446dd86cd8bb0de9a57956fadbce2e | [log] [tgz] |
---|---|---|
author | Christian Huitema <huitema@huitema.net> | Mon Jan 08 21:50:13 2024 -0800 |
committer | Christian Huitema <huitema@huitema.net> | Mon Jan 08 21:50:13 2024 -0800 |
tree | d4b2d8ef6e3d90f62df5b15792399098434f4a2b | |
parent | 7709dd92403af4c80222e43d32dd5bd913035c02 [diff] |
Fix fatal warning in Windows compilers
diff --git a/include/picotls.h b/include/picotls.h index 70abcf8..bbf3739 100644 --- a/include/picotls.h +++ b/include/picotls.h
@@ -986,7 +986,11 @@ */ struct { uint8_t bytes[PTLS_SHA256_DIGEST_SIZE]; +#ifdef _WINDOWS + unsigned int is_set : 1; +#else uint8_t is_set : 1; +#endif } ticket_context; /** * (optional) list of CAs advertised to clients as supported in the CertificateRequest message; each item must be DNs in DER