summaryrefslogtreecommitdiff
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
commitdc8392ae376ee72561b7f70468cf6c4106149a02 (patch)
tree06cb1f1c0a6a2df28b182f134c681b9f39f2ca71
parentb798b04eb93801a16bbe7d65a0f2be47bfac32fe (diff)
initialize ok to 0
ok guenther@
-rw-r--r--lib/libcrypto/x509/x509_vfy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509_vfy.c b/lib/libcrypto/x509/x509_vfy.c
index 159d60b0348..c9950adb278 100644
--- a/lib/libcrypto/x509/x509_vfy.c
+++ b/lib/libcrypto/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;