diff options
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; |