summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbcook <>2015-07-01 07:21:10 +0000
committerbcook <>2015-07-01 07:21:10 +0000
commitaca1bd4b3e7f67907e44cae5664e17ea9a7a5a32 (patch)
treea7c9aae40f9ec5632d720c79d48cfb9c6ce5d42a
parentee7605a32d674075555e0ea39312bd67abc4aecc (diff)
downloadopenbsd-aca1bd4b3e7f67907e44cae5664e17ea9a7a5a32.tar.gz
openbsd-aca1bd4b3e7f67907e44cae5664e17ea9a7a5a32.tar.bz2
openbsd-aca1bd4b3e7f67907e44cae5664e17ea9a7a5a32.zip
specify the array initializer valuelibressl-v2.2.1
noted by kinichiro from github
-rw-r--r--src/regress/lib/libssl/unit/cipher_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/unit/cipher_list.c b/src/regress/lib/libssl/unit/cipher_list.c
index 1c829f369c..43161069eb 100644
--- a/src/regress/lib/libssl/unit/cipher_list.c
+++ b/src/regress/lib/libssl/unit/cipher_list.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher_list.c,v 1.2 2015/06/28 00:08:27 doug Exp $ */ 1/* $OpenBSD: cipher_list.c,v 1.3 2015/07/01 07:21:10 bcook Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> 3 * Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
4 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -146,7 +146,7 @@ err:
146static int 146static int
147ssl_bytes_to_list_invalid(SSL *s, STACK_OF(SSL_CIPHER) **ciphers) 147ssl_bytes_to_list_invalid(SSL *s, STACK_OF(SSL_CIPHER) **ciphers)
148{ 148{
149 uint8_t empty_cipher_bytes[] = { }; 149 uint8_t empty_cipher_bytes[] = {0};
150 150
151 sk_SSL_CIPHER_free(*ciphers); 151 sk_SSL_CIPHER_free(*ciphers);
152 152