summaryrefslogtreecommitdiffstats
path: root/apps/ec.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-01-31 11:13:10 +0100
committerRichard Levitte <levitte@openssl.org>2018-01-31 23:45:12 +0100
commitdab2cd68e7cc304c9b1a4e7cee18a98711771a53 (patch)
treefcc105dd7b25b1089de1812559409c7cb9718d0a /apps/ec.c
parenttest/asn1_time_test.c: fix pre-C90 warning. (diff)
downloadopenssl-dab2cd68e7cc304c9b1a4e7cee18a98711771a53.tar.xz
openssl-dab2cd68e7cc304c9b1a4e7cee18a98711771a53.zip
apps: Don't include progs.h in apps.h
Everything in apps includes apps.h, because that one declares apps internal library routines. However, progs.h doesn't declare library routines, but rather the main commands and their options, and there's no reason why the library modules should include it. So, remove the inclusion of progs.h from apps.h and add that inclusion in all command source files. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5222)
Diffstat (limited to 'apps/ec.c')
-rw-r--r--apps/ec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/ec.c b/apps/ec.c
index 6fc6a6f625..c9d7ded070 100644
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -16,6 +16,7 @@ NON_EMPTY_TRANSLATION_UNIT
# include <stdlib.h>
# include <string.h>
# include "apps.h"
+# include "progs.h"
# include <openssl/bio.h>
# include <openssl/err.h>
# include <openssl/evp.h>