From c3dee478f5b6e45827ed46614a0386921eba85b3 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Wed, 23 Oct 2019 20:38:09 -0500 Subject: [PATCH] fix ed25519 dependency for golang 1.12 and earlier, though we may want to update builds to 1.13 anyway... --- src/yggdrasil/tls.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yggdrasil/tls.go b/src/yggdrasil/tls.go index 7212c4df..26ecf1d7 100644 --- a/src/yggdrasil/tls.go +++ b/src/yggdrasil/tls.go @@ -2,7 +2,6 @@ package yggdrasil import ( "bytes" - "crypto/ed25519" "crypto/rand" "crypto/tls" "crypto/x509" @@ -13,6 +12,8 @@ import ( "math/big" "net" "time" + + "golang.org/x/crypto/ed25519" ) type tcptls struct {