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 5d5edbc..50ff939 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;
 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;
     EC_KEY *eckey = NULL;
     const EC_GROUP *group;
     const EVP_CIPHER *enc = NULL;