diff options
Diffstat (limited to 'contrib/extract-handshakes')
-rw-r--r-- | contrib/extract-handshakes/Makefile | 7 | ||||
-rw-r--r-- | contrib/extract-handshakes/offset-finder.c | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/contrib/extract-handshakes/Makefile b/contrib/extract-handshakes/Makefile index 77b42f1..241b0d5 100644 --- a/contrib/extract-handshakes/Makefile +++ b/contrib/extract-handshakes/Makefile @@ -20,10 +20,5 @@ clean: .PHONY: clean else -offset-finder-m := offset-finder.o -oldsrc := $(src) -src := $(src)/../../../src -include $(src)/compat/Kbuild.include -include $(src)/crypto/Kbuild.include -src := $(oldsrc) +obj-m := offset-finder.o endif diff --git a/contrib/extract-handshakes/offset-finder.c b/contrib/extract-handshakes/offset-finder.c index 1b54cf3..4c10341 100644 --- a/contrib/extract-handshakes/offset-finder.c +++ b/contrib/extract-handshakes/offset-finder.c @@ -11,7 +11,7 @@ struct def { extern const struct def defs[]; #ifdef __KERNEL__ -#include "../../../src/noise.h" +#include "../drivers/net/wireguard/noise.h" const struct def defs[] = { { "LOCAL_STATIC_PRIVATE_KEY", offsetof(struct noise_static_identity, static_private), offsetof(struct noise_handshake, static_identity) }, |