Fix warning.
[openssl.git] / crypto / x509 / x509_vfy.c
index 92a3cc7a28cedc2b5053e0614a69d3bc5c53adac..5f6687e609802ea3a944d65079b3b5482bdefb63 100644 (file)
@@ -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));