aboutsummaryrefslogtreecommitdiffstats
path: root/tun/wintun/registry/registry_windows_test.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-05-10 17:37:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-10 18:09:20 +0200
commit1c92b48415e7f68cce859b4adf95c5d1ce5df9e9 (patch)
treec368beaf4702a22840851e8a34fe54a9151e0e91 /tun/wintun/registry/registry_windows_test.go
parentwintun: IpConfig is a MULTI_SZ, and fix errors (diff)
downloadwireguard-go-1c92b48415e7f68cce859b4adf95c5d1ce5df9e9.tar.xz
wireguard-go-1c92b48415e7f68cce859b4adf95c5d1ce5df9e9.zip
wintun: registry: replace REG_NOTIFY with NOTIFY
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'tun/wintun/registry/registry_windows_test.go')
-rw-r--r--tun/wintun/registry/registry_windows_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/registry/registry_windows_test.go b/tun/wintun/registry/registry_windows_test.go
index c5a6e28..c56b51b 100644
--- a/tun/wintun/registry/registry_windows_test.go
+++ b/tun/wintun/registry/registry_windows_test.go
@@ -66,7 +66,7 @@ func Test_GetValueWait(t *testing.T) {
key.Close()
}()
- key, err := OpenKeyWait(keyRoot, path, registry.QUERY_VALUE|KEY_NOTIFY, time.Second*2)
+ key, err := OpenKeyWait(keyRoot, path, registry.QUERY_VALUE|registry.NOTIFY, time.Second*2)
if err != nil {
t.Errorf("Error waiting for registry key: %v", err)
}