summaryrefslogtreecommitdiffstats
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-07-12 22:49:42 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-07-24 15:48:53 +0200
commitd0cf719efb4e60364ee80d3d7c9c8f69c69cdb95 (patch)
tree4282f2d3c182b7e2d232a06b3c20e22f0e648dfd /apps/openssl.c
parentdbd66443208cb0928b93bce04e32de412d452aff (diff)
Remove HEADER_X509_H and HEADER_SSL_H include detectors from apps
The HEADER_X509_H check is redundant, because <openssl/x509.h> is already included. Instead of of checking for HEADER_SSL_H, include <openssl/ssl.h> explicitly in "s_apps.h" and don't include "s_apps.h" where it's not necessary. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/9364)
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index b2fd630545..123c1ff4ce 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -23,7 +23,6 @@
# include <openssl/engine.h>
#endif
#include <openssl/err.h>
-#include "s_apps.h"
/* Needed to get the other O_xxx flags. */
#ifdef OPENSSL_SYS_VMS
# include <unixio.h>