commit | 86ccc558004c6808d6605d2c0e6f8dd13ebd1376 | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Fri Mar 26 06:55:11 2021 +0900 |
committer | GitHub <noreply@github.com> | Fri Mar 26 06:55:11 2021 +0900 |
tree | 344c7367b88cb858bed86697d59d9e00bd0ac637 | |
parent | c91baf9c9971332d9280a7062943c54a4f13a7ec [diff] | |
parent | 3490d2b9e3d37c755675928cebf8f48da3d49562 [diff] |
Merge pull request #349 from h2o/fix-raw-cert-windows 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);