Fix uninitialized variable
authorRich Salz <rsalz@openssl.org>
Thu, 12 May 2016 20:08:01 +0000 (16:08 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 12 May 2016 20:08:01 +0000 (16:08 -0400)
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
apps/ec.c

index 5d5edbccf8e7ed34bf64b61dfc5cc9bc955ca2a1..50ff939645abcd43b6333f5e18f020af90180b42 100644 (file)
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -118,7 +118,7 @@ OPTIONS ec_options[] = {
 int ec_main(int argc, char **argv)
 {
     BIO *in = NULL, *out = NULL;
-    ENGINE *e;
+    ENGINE *e = NULL;
     EC_KEY *eckey = NULL;
     const EC_GROUP *group;
     const EVP_CIPHER *enc = NULL;