aboutsummaryrefslogtreecommitdiff
path: root/tun/wintun/memmod/memmod_windows_32.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-10-16 22:49:38 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-10-16 22:49:38 -0600
commitba9e364dab402cfc104eb00669f7fdfd9259559e (patch)
tree8da1081c32cdcf8a1592d6853b2dad4463cdd260 /tun/wintun/memmod/memmod_windows_32.go
parentdfd688b6aa7b044f7e7e0662288c66ee1d56e0e8 (diff)
downloadwireguard-go-ba9e364dab402cfc104eb00669f7fdfd9259559e.tar.gz
wireguard-go-ba9e364dab402cfc104eb00669f7fdfd9259559e.zip
wintun: remove memmod option for dll loading
Only wireguard-windows used this, and it's moving to wgnt exclusively. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/wintun/memmod/memmod_windows_32.go')
-rw-r--r--tun/wintun/memmod/memmod_windows_32.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/tun/wintun/memmod/memmod_windows_32.go b/tun/wintun/memmod/memmod_windows_32.go
deleted file mode 100644
index 50e6feb..0000000
--- a/tun/wintun/memmod/memmod_windows_32.go
+++ /dev/null
@@ -1,16 +0,0 @@
-//go:build (windows && 386) || (windows && arm)
-
-/* SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
- */
-
-package memmod
-
-func (opthdr *IMAGE_OPTIONAL_HEADER) imageOffset() uintptr {
- return 0
-}
-
-func (module *Module) check4GBBoundaries(alignedImageSize uintptr) (err error) {
- return
-}