diff options
author | Richard Levitte <levitte@openssl.org> | 2018-01-31 11:13:10 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-01-31 23:45:12 +0100 |
commit | dab2cd68e7cc304c9b1a4e7cee18a98711771a53 (patch) | |
tree | fcc105dd7b25b1089de1812559409c7cb9718d0a /apps/ocsp.c | |
parent | 79a0e87648bb932d88f117e96dabd2c4eb44cb99 (diff) | |
download | openssl-new-dab2cd68e7cc304c9b1a4e7cee18a98711771a53.tar.gz |
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/ocsp.c')
-rw-r--r-- | apps/ocsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index 4a68e52d74..122aee6770 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -25,6 +25,7 @@ NON_EMPTY_TRANSLATION_UNIT /* Needs to be included before the openssl headers */ # include "apps.h" +# include "progs.h" # include <openssl/e_os2.h> # include <openssl/crypto.h> # include <openssl/err.h> |