projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8da6a1
)
Fix warning.
author
Ben Laurie
<ben@openssl.org>
Sun, 7 Sep 2008 13:22:34 +0000
(13:22 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sun, 7 Sep 2008 13:22:34 +0000
(13:22 +0000)
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index cb7936f2b3d89658bdffa55fc43c2dffa84183c7..5c94d3b1b87cc4b9e7f5eda2e2c31cdfc362ca49 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-820,10
+820,11
@@
static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl,
STACK_OF(X509_CRL) *crls)
{
int i, crl_score, best_score = *pscore;
- unsigned int reasons, best_reasons;
+ unsigned int reasons, best_reasons
= 0
;
X509 *x = ctx->current_cert;
X509_CRL *crl, *best_crl = NULL;
X509 *crl_issuer, *best_crl_issuer = NULL;
+
for (i = 0; i < sk_X509_CRL_num(crls); i++)
{
crl = sk_X509_CRL_value(crls, i);