summaryrefslogtreecommitdiff
path: root/usr.sbin/ocspcheck
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-01-26 00:52:23 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-01-26 00:52:23 +0000
commitc9bd62f520307f6132a2cfc4cecf6ede8c73301b (patch)
treebe70a9c8af25e7a93966567b15e23784c4c09d4f /usr.sbin/ocspcheck
parentead42a7d805ded4ee2709221c4556fe194becbc0 (diff)
Fix the structure initialzation to compile. bad inioguchi and millert :)
ok jsing@ rpe@
Diffstat (limited to 'usr.sbin/ocspcheck')
-rw-r--r--usr.sbin/ocspcheck/ocspcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ocspcheck/ocspcheck.c b/usr.sbin/ocspcheck/ocspcheck.c
index 1483081f88a..38ec5a0eccb 100644
--- a/usr.sbin/ocspcheck/ocspcheck.c
+++ b/usr.sbin/ocspcheck/ocspcheck.c
@@ -505,7 +505,7 @@ main (int argc, char **argv)
{
char *host = NULL, *path = "/", *certfile = NULL, *outfile = NULL,
*cafile = NULL;
- struct addr addrs[MAX_SERVERS_DNS] = {0};
+ struct addr addrs[MAX_SERVERS_DNS] = {{0}};
struct source sources[MAX_SERVERS_DNS];
int i, ch, staplefd = -1, nonce = 1;
ocsp_request *request = NULL;