aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/extract-handshakes/offset-finder.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-02-01 00:48:25 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-02-01 00:53:30 +0100
commit1ad6b17c35d98677459b32fdbeba1129b80c5995 (patch)
tree540e9fb1bef472ea64200a5b485d40a86f4379e1 /contrib/extract-handshakes/offset-finder.c
parentman: document dynamic debug trick for Linux (diff)
downloadwireguard-tools-1ad6b17c35d98677459b32fdbeba1129b80c5995.tar.xz
wireguard-tools-1ad6b17c35d98677459b32fdbeba1129b80c5995.zip
extract-{handshakes,keys}: rework for upstream kernel
Now that WireGuard has been upstreamed and the repos split, we have to look elsewhere for these headers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/extract-handshakes/offset-finder.c')
-rw-r--r--contrib/extract-handshakes/offset-finder.c2
1 files changed, 1 insertions, 1 deletions
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) },