summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2014-10-13 02:46:15 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2014-10-13 02:46:15 +0000
commit0f8bb44e27467b2dd3742faf3cabdbdff0198453 (patch)
tree7b7ee2ec0e7d4455a3100d3b05b6bfb73f2ca9e5 /usr.bin/openssl
parent0095d1bf98d4686efc3b7144fa41ce1dc603346c (diff)
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@
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/crl.c4
-rw-r--r--usr.bin/openssl/ecparam.c4
-rw-r--r--usr.bin/openssl/prime.c4
-rw-r--r--usr.bin/openssl/rand.c4
-rw-r--r--usr.bin/openssl/version.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/openssl/crl.c b/usr.bin/openssl/crl.c
index 91f3b6b4e80..0391e6e4dc0 100644
--- a/usr.bin/openssl/crl.c
+++ b/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/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c
index 7336360b350..b4d65ad2e5f 100644
--- a/usr.bin/openssl/ecparam.c
+++ b/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/usr.bin/openssl/prime.c b/usr.bin/openssl/prime.c
index 06414fde0d1..d9237f9070a 100644
--- a/usr.bin/openssl/prime.c
+++ b/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/usr.bin/openssl/rand.c b/usr.bin/openssl/rand.c
index cfb8d763b05..dcc99e73921 100644
--- a/usr.bin/openssl/rand.c
+++ b/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/usr.bin/openssl/version.c b/usr.bin/openssl/version.c
index ee4792b249b..db9c98e977a 100644
--- a/usr.bin/openssl/version.c
+++ b/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