Move OPENSSL_CONF from e_os.h to cryptlib.h

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4188)
This commit is contained in:
Pauli 2017-08-24 09:14:10 +10:00
parent 07016a8a31
commit 198c42f5af
4 changed files with 4 additions and 3 deletions

View File

@ -7,6 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include <internal/cryptlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

2
e_os.h
View File

@ -53,8 +53,6 @@ extern "C" {
* stand for in ILP32 and LP64 */
# endif
# define OPENSSL_CONF "openssl.cnf"
# ifndef DEVRANDOM
/*
* set this to a comma-separated list of 'random' device files to try out. By

View File

@ -55,6 +55,8 @@ typedef struct app_mem_info_st APP_INFO;
typedef struct mem_st MEM;
DEFINE_LHASH_OF(MEM);
# define OPENSSL_CONF "openssl.cnf"
# ifndef OPENSSL_SYS_VMS
# define X509_CERT_AREA OPENSSLDIR
# define X509_CERT_DIR OPENSSLDIR "/certs"

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h"
#include "internal/cryptlib.h"
#include <openssl/rand.h>
#include "../ssl_locl.h"
#include "statem_locl.h"