Skip to content

Commit 198c42f

Browse files
committed
Move OPENSSL_CONF from e_os.h to cryptlib.h
Reviewed-by: Andy Polyakov <[email protected]> Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#4188)
1 parent 07016a8 commit 198c42f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

apps/openssl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* https://www.openssl.org/source/license.html
88
*/
99

10+
#include <internal/cryptlib.h>
1011
#include <stdio.h>
1112
#include <string.h>
1213
#include <stdlib.h>

e_os.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ extern "C" {
5353
* stand for in ILP32 and LP64 */
5454
# endif
5555

56-
# define OPENSSL_CONF "openssl.cnf"
57-
5856
# ifndef DEVRANDOM
5957
/*
6058
* set this to a comma-separated list of 'random' device files to try out. By

include/internal/cryptlib.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ typedef struct app_mem_info_st APP_INFO;
5555
typedef struct mem_st MEM;
5656
DEFINE_LHASH_OF(MEM);
5757

58+
# define OPENSSL_CONF "openssl.cnf"
59+
5860
# ifndef OPENSSL_SYS_VMS
5961
# define X509_CERT_AREA OPENSSLDIR
6062
# define X509_CERT_DIR OPENSSLDIR "/certs"

ssl/statem/statem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* https://www.openssl.org/source/license.html
88
*/
99

10-
#include "e_os.h"
10+
#include "internal/cryptlib.h"
1111
#include <openssl/rand.h>
1212
#include "../ssl_locl.h"
1313
#include "statem_locl.h"

0 commit comments

Comments
 (0)