From 0dcf90d37015e94e560e71431735595427be713b Mon Sep 17 00:00:00 2001
From: bcook <>
Date: Mon, 13 Oct 2014 02:46:14 +0000
Subject: prefer C99 array initialization syntax.

use C99 array initialization syntax for strict C compilers.

from kinichiro, found building with HP/UX compiler

ok deraadt@, guenther@
---
 src/usr.bin/openssl/crl.c     | 4 ++--
 src/usr.bin/openssl/ecparam.c | 4 ++--
 src/usr.bin/openssl/prime.c   | 4 ++--
 src/usr.bin/openssl/rand.c    | 4 ++--
 src/usr.bin/openssl/version.c | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

(limited to 'src')

diff --git a/src/usr.bin/openssl/crl.c b/src/usr.bin/openssl/crl.c
index 91f3b6b4e8..0391e6e4dc 100644
--- a/src/usr.bin/openssl/crl.c
+++ b/src/usr.bin/openssl/crl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crl.c,v 1.4 2014/09/17 02:20:45 lteo Exp $ */
+/* $OpenBSD: crl.c,v 1.5 2014/10/13 02:46:14 bcook Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -198,7 +198,7 @@ static struct option crl_options[] = {
 		.type = OPTION_FLAG,
 		.opt.flag = &crl_config.verify,
 	},
-	{},
+	{NULL},
 };
 
 static void
diff --git a/src/usr.bin/openssl/ecparam.c b/src/usr.bin/openssl/ecparam.c
index 7336360b35..b4d65ad2e5 100644
--- a/src/usr.bin/openssl/ecparam.c
+++ b/src/usr.bin/openssl/ecparam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecparam.c,v 1.3 2014/09/01 14:26:01 jsing Exp $ */
+/* $OpenBSD: ecparam.c,v 1.4 2014/10/13 02:46:14 bcook Exp $ */
 /*
  * Written by Nils Larsch for the OpenSSL project.
  */
@@ -245,7 +245,7 @@ struct option ecparam_options[] = {
 		.type = OPTION_FLAG,
 		.opt.flag = &ecparam_config.text,
 	},
-	{},
+	{NULL},
 };
 
 static void
diff --git a/src/usr.bin/openssl/prime.c b/src/usr.bin/openssl/prime.c
index 06414fde0d..d9237f9070 100644
--- a/src/usr.bin/openssl/prime.c
+++ b/src/usr.bin/openssl/prime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prime.c,v 1.2 2014/08/27 15:55:23 jsing Exp $ */
+/* $OpenBSD: prime.c,v 1.3 2014/10/13 02:46:14 bcook Exp $ */
 /* ====================================================================
  * Copyright (c) 2004 The OpenSSL Project.  All rights reserved.
  *
@@ -96,7 +96,7 @@ struct option prime_options[] = {
 		.type = OPTION_FLAG,
 		.opt.flag = &prime_config.safe,
 	},
-	{},
+	{NULL},
 };
 
 static void
diff --git a/src/usr.bin/openssl/rand.c b/src/usr.bin/openssl/rand.c
index cfb8d763b0..dcc99e7392 100644
--- a/src/usr.bin/openssl/rand.c
+++ b/src/usr.bin/openssl/rand.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rand.c,v 1.3 2014/08/27 15:54:02 jsing Exp $ */
+/* $OpenBSD: rand.c,v 1.4 2014/10/13 02:46:14 bcook Exp $ */
 /* ====================================================================
  * Copyright (c) 1998-2001 The OpenSSL Project.  All rights reserved.
  *
@@ -99,7 +99,7 @@ struct option rand_options[] = {
 		.type = OPTION_ARG,
 		.opt.arg = &rand_config.outfile,
 	},
-	{},
+	{NULL},
 };
 
 static void
diff --git a/src/usr.bin/openssl/version.c b/src/usr.bin/openssl/version.c
index ee4792b249..db9c98e977 100644
--- a/src/usr.bin/openssl/version.c
+++ b/src/usr.bin/openssl/version.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: version.c,v 1.2 2014/08/30 15:59:43 jsing Exp $ */
+/* $OpenBSD: version.c,v 1.3 2014/10/13 02:46:14 bcook Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -200,7 +200,7 @@ static struct option version_options[] = {
 		.type = OPTION_FLAG,
 		.opt.flag = &version_config.version,
 	},
-	{},
+	{NULL},
 };
 
 static void
-- 
cgit v1.2.3-55-g6feb