diff options
author | beck <> | 2015-12-14 03:38:13 +0000 |
---|---|---|
committer | beck <> | 2015-12-14 03:38:13 +0000 |
commit | eba08ab4aff1bdbd5e9dac35c411aeb69567ff42 (patch) | |
tree | 926dac59bdcb6e5ba6d643fff5979c59f7f76929 /src | |
parent | a7a67cb27b5be6bac1ff7345259d986e331fa3e9 (diff) | |
download | openbsd-eba08ab4aff1bdbd5e9dac35c411aeb69567ff42.tar.gz openbsd-eba08ab4aff1bdbd5e9dac35c411aeb69567ff42.tar.bz2 openbsd-eba08ab4aff1bdbd5e9dac35c411aeb69567ff42.zip |
initialize ok to 0
ok guenther@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/x509/x509_vfy.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 159d60b034..c9950adb27 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.47 2015/10/19 16:32:37 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.48 2015/12/14 03:38:13 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -685,7 +685,7 @@ check_cert(X509_STORE_CTX *ctx) | |||
685 | { | 685 | { |
686 | X509_CRL *crl = NULL, *dcrl = NULL; | 686 | X509_CRL *crl = NULL, *dcrl = NULL; |
687 | X509 *x; | 687 | X509 *x; |
688 | int ok, cnum; | 688 | int ok = 0, cnum; |
689 | unsigned int last_reasons; | 689 | unsigned int last_reasons; |
690 | 690 | ||
691 | cnum = ctx->error_depth; | 691 | cnum = ctx->error_depth; |
diff --git a/src/lib/libssl/src/crypto/x509/x509_vfy.c b/src/lib/libssl/src/crypto/x509/x509_vfy.c index 159d60b034..c9950adb27 100644 --- a/src/lib/libssl/src/crypto/x509/x509_vfy.c +++ b/src/lib/libssl/src/crypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.47 2015/10/19 16:32:37 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.48 2015/12/14 03:38:13 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -685,7 +685,7 @@ check_cert(X509_STORE_CTX *ctx) | |||
685 | { | 685 | { |
686 | X509_CRL *crl = NULL, *dcrl = NULL; | 686 | X509_CRL *crl = NULL, *dcrl = NULL; |
687 | X509 *x; | 687 | X509 *x; |
688 | int ok, cnum; | 688 | int ok = 0, cnum; |
689 | unsigned int last_reasons; | 689 | unsigned int last_reasons; |
690 | 690 | ||
691 | cnum = ctx->error_depth; | 691 | cnum = ctx->error_depth; |