mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
@@ -100,6 +100,9 @@ include testsuite/include.am
|
|||||||
include tests/include.am
|
include tests/include.am
|
||||||
include sslSniffer/sslSnifferTest/include.am
|
include sslSniffer/sslSnifferTest/include.am
|
||||||
include rpm/include.am
|
include rpm/include.am
|
||||||
|
|
||||||
|
# Exclude references to non-DFSG sources from build files
|
||||||
|
if !BUILD_DISTRO
|
||||||
include mqx/util_lib/Sources/include.am
|
include mqx/util_lib/Sources/include.am
|
||||||
include mqx/wolfcrypt_benchmark/Sources/include.am
|
include mqx/wolfcrypt_benchmark/Sources/include.am
|
||||||
include mqx/wolfcrypt_test/Sources/include.am
|
include mqx/wolfcrypt_test/Sources/include.am
|
||||||
@@ -115,8 +118,9 @@ include mcapi/wolfcrypt_test.X/nbproject/include.am
|
|||||||
include mcapi/wolfssl.X/nbproject/include.am
|
include mcapi/wolfssl.X/nbproject/include.am
|
||||||
include mcapi/zlib.X/nbproject/include.am
|
include mcapi/zlib.X/nbproject/include.am
|
||||||
include tirtos/include.am
|
include tirtos/include.am
|
||||||
include scripts/include.am
|
|
||||||
include IDE/include.am
|
include IDE/include.am
|
||||||
|
endif
|
||||||
|
include scripts/include.am
|
||||||
|
|
||||||
if USE_VALGRIND
|
if USE_VALGRIND
|
||||||
TESTS_ENVIRONMENT=./valgrind-error.sh
|
TESTS_ENVIRONMENT=./valgrind-error.sh
|
||||||
|
17
configure.ac
17
configure.ac
@@ -192,6 +192,7 @@ then
|
|||||||
enable_stunnel=yes
|
enable_stunnel=yes
|
||||||
enable_pwdbased=yes
|
enable_pwdbased=yes
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL([BUILD_DISTRO], [test "x$ENABLED_DISTRO" = "xyes"])
|
||||||
|
|
||||||
|
|
||||||
# SINGLE THREADED
|
# SINGLE THREADED
|
||||||
@@ -1781,7 +1782,12 @@ then
|
|||||||
*linux* | *darwin* | *freebsd*)
|
*linux* | *darwin* | *freebsd*)
|
||||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL_MONITOR" ;;
|
AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL_MONITOR" ;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([crl monitor only allowed on linux, OS X, or freebsd]) ;;
|
if test "x$ENABLED_DISTRO" = "xyes" ; then
|
||||||
|
ENABLED_CRL_MONITOR="no"
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR( [crl monitor only allowed on linux, OS X, or freebsd])
|
||||||
|
fi
|
||||||
|
break;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -2231,7 +2237,7 @@ then
|
|||||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_OCSP"
|
AM_CFLAGS="$AM_CFLAGS -DHAVE_OCSP"
|
||||||
AM_CONDITIONAL([BUILD_OCSP], [test "x$ENABLED_OCSP" = "xyes"])
|
AM_CONDITIONAL([BUILD_OCSP], [test "x$ENABLED_OCSP" = "xyes"])
|
||||||
fi
|
fi
|
||||||
if test "x$ENABLED_CRL_MONITOR" = "xno"
|
if test "x$ENABLED_CRL_MONITOR" = "xno" && test "x$ENABLED_DISTRO" = "xno"
|
||||||
then
|
then
|
||||||
ENABLED_CRL_MONITOR="yes"
|
ENABLED_CRL_MONITOR="yes"
|
||||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL_MONITOR"
|
AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL_MONITOR"
|
||||||
@@ -3082,7 +3088,8 @@ AS_IF([test "x$ENABLED_DTLS" = "xno" && \
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# OPTIMIZE FLAGS
|
# OPTIMIZE FLAGS
|
||||||
if test "$GCC" = "yes"
|
# For distro disable custom build options that interfere with symbol generation
|
||||||
|
if test "$GCC" = "yes" && test "$ENABLED_DISTRO" = "no"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
|
AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
|
||||||
if test "$ax_enable_debug" = "no"
|
if test "$ax_enable_debug" = "no"
|
||||||
@@ -3131,7 +3138,11 @@ case $host_os in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# add user C_EXTRA_FLAGS back
|
# add user C_EXTRA_FLAGS back
|
||||||
|
# For distro disable custom build options that interfere with symbol generation
|
||||||
|
if test "$ENABLED_DISTRO" = "no"
|
||||||
|
then
|
||||||
CFLAGS="$CFLAGS $USER_C_EXTRA_FLAGS"
|
CFLAGS="$CFLAGS $USER_C_EXTRA_FLAGS"
|
||||||
|
fi
|
||||||
OPTION_FLAGS="$USER_CFLAGS $USER_C_EXTRA_FLAGS $AM_CFLAGS"
|
OPTION_FLAGS="$USER_CFLAGS $USER_C_EXTRA_FLAGS $AM_CFLAGS"
|
||||||
|
|
||||||
CREATE_HEX_VERSION
|
CREATE_HEX_VERSION
|
||||||
|
@@ -16,10 +16,16 @@ nobase_include_HEADERS+= \
|
|||||||
cyassl/certs_test.h \
|
cyassl/certs_test.h \
|
||||||
cyassl/test.h \
|
cyassl/test.h \
|
||||||
cyassl/version.h \
|
cyassl/version.h \
|
||||||
cyassl/options.h \
|
|
||||||
cyassl/ocsp.h \
|
cyassl/ocsp.h \
|
||||||
cyassl/crl.h
|
cyassl/crl.h
|
||||||
|
|
||||||
noinst_HEADERS+= \
|
noinst_HEADERS+= \
|
||||||
cyassl/internal.h
|
cyassl/internal.h
|
||||||
|
|
||||||
|
# For distro build don't install options.h.
|
||||||
|
# It depends on the architecture and conflicts with Multi-Arch.
|
||||||
|
if BUILD_DISTRO
|
||||||
|
noinst_HEADERS+= cyassl/options.h
|
||||||
|
else
|
||||||
|
nobase_include_HEADERS+= cyassl/options.h
|
||||||
|
endif
|
||||||
|
@@ -42,8 +42,12 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef HAVE_CRL_MONITOR
|
#ifdef HAVE_CRL_MONITOR
|
||||||
|
#if (defined(__MACH__) || defined(__FreeBSD__) || defined(__linux__))
|
||||||
static int StopMonitor(int mfd);
|
static int StopMonitor(int mfd);
|
||||||
|
#else
|
||||||
|
#error "CRL monitor only currently supported on linux or mach"
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* HAVE_CRL_MONITOR */
|
||||||
|
|
||||||
|
|
||||||
/* Initialize CRL members */
|
/* Initialize CRL members */
|
||||||
@@ -718,11 +722,6 @@ static void* DoMonitor(void* arg)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#error "CRL monitor only currently supported on linux or mach"
|
|
||||||
|
|
||||||
#endif /* MACH or linux */
|
#endif /* MACH or linux */
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1372,3 +1372,7 @@ gfmul:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
#endif /* HAVE_AESGCM */
|
#endif /* HAVE_AESGCM */
|
||||||
|
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
@@ -16,10 +16,16 @@ nobase_include_HEADERS+= \
|
|||||||
wolfssl/certs_test.h \
|
wolfssl/certs_test.h \
|
||||||
wolfssl/test.h \
|
wolfssl/test.h \
|
||||||
wolfssl/version.h \
|
wolfssl/version.h \
|
||||||
wolfssl/options.h \
|
|
||||||
wolfssl/ocsp.h \
|
wolfssl/ocsp.h \
|
||||||
wolfssl/crl.h
|
wolfssl/crl.h
|
||||||
|
|
||||||
noinst_HEADERS+= \
|
noinst_HEADERS+= \
|
||||||
wolfssl/internal.h
|
wolfssl/internal.h
|
||||||
|
|
||||||
|
# For distro build don't install options.h.
|
||||||
|
# It depends on the architecture and conflicts with Multi-Arch.
|
||||||
|
if BUILD_DISTRO
|
||||||
|
noinst_HEADERS+= wolfssl/options.h
|
||||||
|
else
|
||||||
|
nobase_include_HEADERS+= wolfssl/options.h
|
||||||
|
endif
|
||||||
|
Reference in New Issue
Block a user