From: Ben Laurie Date: Sun, 6 Jan 2013 19:03:48 +0000 (+0000) Subject: Fix warning. X-Git-Tag: master-post-reformat~1489 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=f00c54ae2e5e540590c35b5d8bc1abe1b81d7cd3 Fix warning. --- 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));