linuxkm: add missing #ifdef OPENSSL_EXTRA around openssl includes in module_exports.c.template, and add an assert to configure.ac disallowing linuxkm+opensslextra.
This commit is contained in:
parent
ac8fbe3fbd
commit
073bef579b
@ -7078,6 +7078,9 @@ if test "x$ENABLED_LINUXKM" = "xyes"; then
|
||||
AC_SUBST([ASFLAGS_FPUSIMD_DISABLE])
|
||||
AC_SUBST([ASFLAGS_FPUSIMD_ENABLE])
|
||||
|
||||
if test "$ENABLED_OPENSSLEXTRA" != "no"; then
|
||||
AC_MSG_ERROR([--enable-opensslextra is incompatible with --enable-linuxkm.])
|
||||
fi
|
||||
if test "$ENABLED_FILESYSTEM" = "yes"; then
|
||||
AC_MSG_ERROR([--enable-filesystem is incompatible with --enable-linuxkm.])
|
||||
fi
|
||||
|
@ -171,6 +171,7 @@
|
||||
|
||||
#include <wolfssl/certs_test.h>
|
||||
|
||||
#ifdef OPENSSL_EXTRA
|
||||
#include <wolfssl/openssl/x509_vfy.h>
|
||||
#include <wolfssl/openssl/buffer.h>
|
||||
#include <wolfssl/openssl/ec25519.h>
|
||||
@ -180,4 +181,5 @@
|
||||
#include <wolfssl/openssl/ecdsa.h>
|
||||
#include <wolfssl/openssl/ecdh.h>
|
||||
#include <wolfssl/openssl/pem.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user