summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2015-12-14 03:38:14 +0000
committerBob Beck <beck@cvs.openbsd.org>2015-12-14 03:38:14 +0000
commitb5b1ff3594a5fbaa835596e1caf311c981aa2df2 (patch)
tree10804e38fba4d9346bf4aa2f447f73705b684193 /lib
parentb66ccbfaa7932ea50e246010d91764c97313ac7c (diff)
initialize ok to 0
ok guenther@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/x509/x509_vfy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/x509/x509_vfy.c b/lib/libssl/src/crypto/x509/x509_vfy.c
index 159d60b0348..c9950adb278 100644
--- a/lib/libssl/src/crypto/x509/x509_vfy.c
+++ b/lib/libssl/src/crypto/x509/x509_vfy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_vfy.c,v 1.47 2015/10/19 16:32:37 beck Exp $ */
+/* $OpenBSD: x509_vfy.c,v 1.48 2015/12/14 03:38:13 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -685,7 +685,7 @@ check_cert(X509_STORE_CTX *ctx)
{
X509_CRL *crl = NULL, *dcrl = NULL;
X509 *x;
- int ok, cnum;
+ int ok = 0, cnum;
unsigned int last_reasons;
cnum = ctx->error_depth;