From f00c54ae2e5e540590c35b5d8bc1abe1b81d7cd3 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 6 Jan 2013 19:03:48 +0000 Subject: [PATCH] Fix warning. --- crypto/x509/x509_vfy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.34.1