Fix warning.
authorUlf Möller <ulf@openssl.org>
Tue, 20 Feb 2001 00:43:03 +0000 (00:43 +0000)
committerUlf Möller <ulf@openssl.org>
Tue, 20 Feb 2001 00:43:03 +0000 (00:43 +0000)
apps/x509.c

index 3229a2c26fa981b410bc20fc02cf42a867947e5b..2972b047a9b3e978a40b2a92b620b625de1ae66a 100644 (file)
@@ -1032,7 +1032,7 @@ static ASN1_INTEGER *load_serial(char *CAfile, char *serialfile, int create)
        MS_STATIC char buf2[1024];
        ASN1_INTEGER *bs = NULL, bs2;
        BIO *io = NULL;
-       BIGNUM *serial;
+       BIGNUM *serial = NULL;
        buf=OPENSSL_malloc( ((serialfile == NULL)
                        ?(strlen(CAfile)+strlen(POSTFIX)+1)
                        :(strlen(serialfile)))+1);