Avoid warning.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 21 Jul 2006 22:46:19 +0000 (22:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 21 Jul 2006 22:46:19 +0000 (22:46 +0000)
crypto/asn1/x_name.c

index 68fa34a..9b0cf15 100644 (file)
@@ -313,7 +313,7 @@ static int x509_name_canon(X509_NAME *a)
        unsigned char *p;
        STACK *intname = NULL;
        STACK_OF(X509_NAME_ENTRY) *entries = NULL;
-       X509_NAME_ENTRY *entry, *tmpentry;
+       X509_NAME_ENTRY *entry, *tmpentry = NULL;
        int i, set = -1, ret = 0;
        if (a->canon_enc)
                {