Fix warning.
authorBen Laurie <ben@links.org>
Sun, 6 Jan 2013 19:03:48 +0000 (19:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 6 Jan 2013 21:03:05 +0000 (21:03 +0000)
crypto/x509/x509_vfy.c

index 33adb4346553077e08d24d804623cf1c8ca52059..0e109a01d04eac1a2e167a4af5408f627d28f005 100644 (file)
@@ -156,7 +156,7 @@ static int x509_subject_cmp(X509 **a, X509 **b)
 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));