Commit 68570797 authored by Richard Levitte's avatar Richard Levitte
Browse files

Identify and move OpenSSL internal header files



There are header files in crypto/ that are used by the rest of
OpenSSL.  Move those to include/internal and adapt the affected source
code, Makefiles and scripts.

The header files that got moved are:

crypto/constant_time_locl.h
crypto/o_dir.h
crypto/o_str.h

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent 167f6c93
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -43,8 +43,7 @@ LIBOBJ= cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o cpt_err.o \

SRC= $(LIBSRC)

HEADER=	cryptlib.h buildinf.h md32_common.h o_str.h o_dir.h \
	constant_time_locl.h
HEADER=	cryptlib.h buildinf.h md32_common.h

ALL=	$(GENERAL) $(SRC) $(HEADER)

+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@
#define LP_find_file OPENSSL_DIR_read
#define LP_find_file_end OPENSSL_DIR_end

#include "o_dir.h"
#include "internal/o_dir.h"

#define LPDIR_H
#if defined OPENSSL_SYS_UNIX || defined DJGPP
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
#include <stdio.h>
#include <errno.h>
#include "e_os2.h"
#include "o_dir.h"
#include "internal/o_dir.h"

#if defined OPENSSL_SYS_UNIX || defined OPENSSL_SYS_WIN32 || defined OPENSSL_SYS_WINCE
# define CURRDIR "."
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@

#include <ctype.h>
#include <e_os.h>
#include "o_str.h"
#include "internal/o_str.h"

#if !defined(OPENSSL_IMPLEMENTS_strncasecmp) && \
    !defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_SYS_WINCE) && \
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
 * one-wayness.  For the RSA function, this is an equivalent notion.
 */

#include "constant_time_locl.h"
#include "internal/constant_time_locl.h"

#include <stdio.h>
#include "cryptlib.h"
Loading