Skip to content

Commit

Permalink
msvc doesn't like = {}
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Aug 8, 2023
1 parent b331c21 commit eb696e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/picotls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ static void do_test_pre_shared_key(int clear_ke)
ptls_buffer_init(&sbuf, "", 0);
ptls_buffer_init(&decbuf, "", 0);

ptls_handshake_properties_t client_prop = {};
ptls_handshake_properties_t client_prop = {{{{NULL}}}};
size_t client_max_early_data_size = 0;
client_prop.client.max_early_data_size = &client_max_early_data_size;

Expand Down

0 comments on commit eb696e1

Please sign in to comment.