From 63379ad40c74ed9cfc50a49eaa3d027254045a6d Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 1 Jul 2015 07:21:11 +0000 Subject: specify the array initializer value noted by kinichiro from github --- regress/lib/libssl/unit/cipher_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/lib/libssl') 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 * Copyright (c) 2015 Joel Sing @@ -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); -- cgit v1.2.3