aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/embeddable-dll-service/main.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* winipcfg, embeddable-dll-service, wintrust: fix Go 1.15 checkptr violationsBrad Fitzpatrick2020-10-211-1/+1
| | | | | | | | | | Avoids "converted pointer straddles allocation" failures at runtime when building binaries in race mode with Go 1.15, which enables checkptr: https://golang.org/doc/go1.15#windows Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> [Jason: Note Go 1.16/1.17 todo item.] Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: do not marshall go stringsJason A. Donenfeld2019-10-091-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add key generation function to replace bcryptJason A. Donenfeld2019-10-061-0/+20
| | | | | | | | BCrypt is Win10+ and kind of clunky to use. The tunnel.dll binary has this code in it anyway, so doing it there doesn't actually increase the size of the binary. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add basic outline for embedding wireguardJason A. Donenfeld2019-09-231-0/+27
This allows people to embed WireGuard inside other apps as a service. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>