Remove HEADER_X509_H and HEADER_SSL_H include detectors from apps
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Fri, 12 Jul 2019 20:49:42 +0000 (22:49 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 24 Jul 2019 13:48:53 +0000 (15:48 +0200)
commitd0cf719efb4e60364ee80d3d7c9c8f69c69cdb95
tree4282f2d3c182b7e2d232a06b3c20e22f0e648dfd
parentdbd66443208cb0928b93bce04e32de412d452aff
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)
apps/apps.c
apps/include/apps.h
apps/include/s_apps.h
apps/openssl.c