stop exposing hidden defines in public opensslconf.h

pull in hidden headers instead, patching drectly for Windows support
This commit is contained in:
Brent Cook
2023-02-28 01:51:41 -06:00
parent 65af3925dc
commit b98c56fd5e
9 changed files with 42 additions and 34 deletions

View File

@@ -1021,6 +1021,7 @@ target_include_directories(crypto_obj
ecdh
ecdsa
evp
hidden
hmac
modes
ocsp

View File

@@ -1,7 +1,6 @@
include $(top_srcdir)/Makefile.am.common
AM_CPPFLAGS += -DLIBRESSL_CRYPTO_INTERNAL
AM_CPPFLAGS += -I$(top_srcdir)/crypto/asn1
AM_CPPFLAGS += -I$(top_srcdir)/crypto/bio
AM_CPPFLAGS += -I$(top_srcdir)/crypto/bn
@@ -134,7 +133,7 @@ libcrypto_la_LIBADD = libcompat.la
if !HAVE_EXPLICIT_BZERO
libcrypto_la_LIBADD += libcompatnoopt.la
endif
libcrypto_la_CPPFLAGS = $(AM_CPPFLAGS)
libcrypto_la_CPPFLAGS = -I$(top_srcdir)/crypto/hidden ${AM_CPPFLAGS}
libcrypto_la_CPPFLAGS += -DLIBRESSL_INTERNAL
libcrypto_la_CPPFLAGS += -DOPENSSL_NO_HW_PADLOCK
if OPENSSL_NO_ASM