diff options
author | 2015-07-01 07:21:10 +0000 | |
---|---|---|
committer | 2015-07-01 07:21:10 +0000 | |
commit | 6baee3d3db2acd95da9e4198d2e19ed1d0367434 (patch) | |
tree | 23aaee2e13a2874f05f5c98ac728f2e5882b6fba | |
parent | twiddle PermitRootLogin back (diff) | |
download | wireguard-openbsd-6baee3d3db2acd95da9e4198d2e19ed1d0367434.tar.xz wireguard-openbsd-6baee3d3db2acd95da9e4198d2e19ed1d0367434.zip |
specify the array initializer value
noted by kinichiro from github
-rw-r--r-- | regress/lib/libssl/unit/cipher_list.c | 4 |
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); |