Fix uninitialized variable.
authorHanno Böck <hanno@hboeck.de>
Sat, 2 May 2015 02:27:20 +0000 (22:27 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 2 May 2015 11:46:09 +0000 (07:46 -0400)
Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(cherry picked from commit 539ed89f686866b82a9ec9a4c3b112878d29cd73)

apps/asn1pars.c

index 7a0f1694328ecc08146a4f67330d77e9f3d11bd4..11b07875943be8996fdfc044c32a93b5251bfce6 100644 (file)
@@ -375,7 +375,7 @@ static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf)
 {
     CONF *cnf = NULL;
     int len;
-    long errline;
+    long errline = 0;
     unsigned char *p;
     ASN1_TYPE *atyp = NULL;