apps: directly inclusion of "e_os.h when needed
Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14344)
This commit is contained in:
parent
0022bc81a9
commit
23b795d34f
@ -6,6 +6,8 @@
|
||||
* in the file LICENSE in the source distribution or at
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
/* This app is disabled when OPENSSL_NO_CMP is defined. */
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
@ -10,10 +10,8 @@
|
||||
#ifndef OSSL_APPS_H
|
||||
# define OSSL_APPS_H
|
||||
|
||||
# include "internal/e_os.h" /* struct timeval for DTLS */
|
||||
# include "internal/common.h" /* for HAS_PREFIX */
|
||||
# include "internal/nelem.h"
|
||||
# include "internal/sockets.h" /* for openssl_fdset() */
|
||||
# include <assert.h>
|
||||
|
||||
# include <stdarg.h>
|
||||
|
@ -7,6 +7,7 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "internal/e_os.h" /* LIST_SEPARATOR_CHAR */
|
||||
#include "apps.h"
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/err.h>
|
||||
|
@ -48,6 +48,9 @@
|
||||
#include "s_apps.h"
|
||||
#include "apps.h"
|
||||
|
||||
#include "internal/sockets.h" /* for openssl_fdset() */
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
static int WIN32_rename(const char *from, const char *to);
|
||||
# define rename(from, to) WIN32_rename((from), (to))
|
||||
|
@ -14,6 +14,7 @@
|
||||
*/
|
||||
#define OPENSSL_SUPPRESS_DEPRECATED
|
||||
|
||||
#include "internal/e_os.h"
|
||||
#include "apps.h"
|
||||
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
|
@ -18,8 +18,10 @@
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include "internal/e_os.h"
|
||||
#include "http_server.h"
|
||||
#include "internal/sockets.h"
|
||||
#include "internal/sockets.h" /* for openssl_fdset() */
|
||||
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/trace.h>
|
||||
#include <openssl/rand.h>
|
||||
|
@ -37,9 +37,10 @@ typedef unsigned int u_int;
|
||||
|
||||
#ifndef OPENSSL_NO_SOCK
|
||||
|
||||
# include "internal/e_os.h"
|
||||
# include "apps.h"
|
||||
# include "s_apps.h"
|
||||
# include "internal/sockets.h"
|
||||
# include "internal/sockets.h" /* for openssl_fdset() */
|
||||
|
||||
# include <openssl/bio.h>
|
||||
# include <openssl/err.h>
|
||||
|
@ -10,6 +10,8 @@
|
||||
/* We need to use some deprecated APIs */
|
||||
#define OPENSSL_SUPPRESS_DEPRECATED
|
||||
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/err.h>
|
||||
|
@ -7,6 +7,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "internal/common.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "internal/e_os.h" /* LIST_SEPARATOR_CHAR */
|
||||
#include "apps.h"
|
||||
#include "progs.h"
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <errno.h>
|
||||
#include <openssl/e_os2.h>
|
||||
#include "internal/nelem.h"
|
||||
#include "internal/sockets.h" /* for openssl_fdset() */
|
||||
|
||||
#ifndef OPENSSL_NO_SOCK
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -22,6 +24,7 @@
|
||||
#include <openssl/async.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/decoder.h>
|
||||
#include "internal/sockets.h" /* for openssl_fdset() */
|
||||
|
||||
#ifndef OPENSSL_NO_SOCK
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
/* We need to use some deprecated APIs */
|
||||
#define OPENSSL_SUPPRESS_DEPRECATED
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user