summaryrefslogtreecommitdiff
path: root/regress/lib/libssl
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-07-01 07:21:11 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-07-01 07:21:11 +0000
commit63379ad40c74ed9cfc50a49eaa3d027254045a6d (patch)
tree030e00301e848e555ba5328f2da24d031a29877c /regress/lib/libssl
parent683ab8dc34811ab2172fa5da07f6df719cb1abfa (diff)
specify the array initializer value
noted by kinichiro from github
Diffstat (limited to 'regress/lib/libssl')
-rw-r--r--regress/lib/libssl/unit/cipher_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libssl/unit/cipher_list.c b/regress/lib/libssl/unit/cipher_list.c
index 1c829f369c3..43161069eba 100644
--- a/regress/lib/libssl/unit/cipher_list.c
+++ b/regress/lib/libssl/unit/cipher_list.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cipher_list.c,v 1.2 2015/06/28 00:08:27 doug Exp $ */
+/* $OpenBSD: cipher_list.c,v 1.3 2015/07/01 07:21:10 bcook Exp $ */
/*
* Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -146,7 +146,7 @@ err:
static int
ssl_bytes_to_list_invalid(SSL *s, STACK_OF(SSL_CIPHER) **ciphers)
{
- uint8_t empty_cipher_bytes[] = { };
+ uint8_t empty_cipher_bytes[] = {0};
sk_SSL_CIPHER_free(*ciphers);