Fix warning.
authorBen Laurie <ben@links.org>
Sun, 6 Jan 2013 19:03:48 +0000 (19:03 +0000)
committerBen Laurie <ben@links.org>
Sun, 6 Jan 2013 19:03:48 +0000 (19:03 +0000)
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));