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 3229a2c..2972b04 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);