commit | 3490d2b9e3d37c755675928cebf8f48da3d49562 | [log] [tgz] |
---|---|---|
author | Christian Huitema <huitema@huitema.net> | Thu Mar 25 11:42:06 2021 -0700 |
committer | Christian Huitema <huitema@huitema.net> | Thu Mar 25 11:42:06 2021 -0700 |
tree | 344c7367b88cb858bed86697d59d9e00bd0ac637 | |
parent | c91baf9c9971332d9280a7062943c54a4f13a7ec [diff] |
Fix compile error on windows.
diff --git a/lib/openssl.c b/lib/openssl.c index 80613bb..49f6f51 100644 --- a/lib/openssl.c +++ b/lib/openssl.c
@@ -1383,7 +1383,7 @@ { ptls_openssl_raw_pubkey_verify_certificate_t *self = (ptls_openssl_raw_pubkey_verify_certificate_t *)_self; int ret = PTLS_ALERT_BAD_CERTIFICATE; - ptls_iovec_t expected_pubkey = {}; + ptls_iovec_t expected_pubkey = { 0 }; assert(num_certs != 0);