aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-01-06 19:03:48 +0000
committerBen Laurie <ben@links.org>2013-01-06 19:03:48 +0000
commitf00c54ae2e5e540590c35b5d8bc1abe1b81d7cd3 (patch)
tree9928eef57c7086f94310ba8338998fc355fdcc1d /crypto/x509
parente71972d1777349e5e098f9cd619b4b5f1b011670 (diff)
downloadopenssl-f00c54ae2e5e540590c35b5d8bc1abe1b81d7cd3.tar.gz
Fix warning.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index 92a3cc7a28..5f6687e609 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -165,7 +165,7 @@ static int cert_self_signed(X509 *x)
static X509 *lookup_cert_match(X509_STORE_CTX *ctx, X509 *x)
{
STACK_OF(X509) *certs;
- X509 *xtmp;
+ X509 *xtmp = NULL;
int i;
/* Lookup all certs with matching subject name */
certs = ctx->lookup_certs(ctx, X509_get_subject_name(x));