Skip to content

Commit eeb2b09

Browse files
committed
Address linuxkm builds and the new header
1 parent 4da42ff commit eeb2b09

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

linuxkm/lkcapi_sha_glue.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,9 @@ struct wc_swallow_the_semicolon
961961

962962
#ifdef LINUXKM_LKCAPI_REGISTER_HASH_DRBG
963963

964+
#ifdef HAVE_ENTROPY_MEMUSE
965+
#include <wolfssl/wolfcrypt/wolfentropy.h>
966+
#endif
964967
#include <wolfssl/wolfcrypt/random.h>
965968

966969
struct wc_linuxkm_drbg_ctx {

linuxkm/module_hooks.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#if !defined(NO_CRYPT_TEST) || defined(LINUXKM_LKCAPI_REGISTER)
4242
#include <wolfcrypt/test/test.h>
4343
#endif
44+
#ifdef HAVE_ENTROPY_MEMUSE
45+
#include <wolfssl/wolfcrypt/wolfentropy.h>
46+
#endif
4447
#include <wolfssl/wolfcrypt/random.h>
4548
#include <wolfssl/wolfcrypt/sha256.h>
4649
#ifdef NO_INLINE

0 commit comments

Comments
 (0)