@@ -230,7 +230,7 @@
* headers and footer */
struct buffer pem = alloc_buf_gc(cert->raw.len * 3 + 100, &gc);
- struct buffer der = {};
+ struct buffer der = { 0 };
buf_set_read(&der, cert->raw.p, cert->raw.len);
if (!crypto_pem_encode("CERTIFICATE", &pem, &der, &gc))
@@ -535,7 +535,7 @@
0x1d, 0x6f, 0x64, 0x8b, 0xdf, 0x96, 0x59, 0x67, 0x76, 0xaf, 0xdb,
0x63, 0x77, 0xac, 0x43, 0x4c, 0x1c, 0x29, 0x3c, 0xcb, 0x04 };
- uint8_t info[] = {};
+ uint8_t info[] = { 0 };
int L = 42;
uint8_t okm[42] = { 0x8d, 0xa4, 0xe7, 0x75, 0xa5, 0x63, 0xc1, 0x8f, 0x71, 0x5f, 0x80,
@@ -411,7 +411,7 @@
test_tls_ctx_use_pkcs11(void **state)
{
(void)state;
- struct tls_root_ctx tls_ctx = {};
+ struct tls_root_ctx tls_ctx = { 0 };
uint8_t sha1[HASHSIZE];
for (struct test_cert *c = certs; c->cert; c++)
{