5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 21:10:29 +00:00

fix ed25519 dependency for golang 1.12 and earlier, though we may want to update builds to 1.13 anyway...

This commit is contained in:
Arceliar 2019-10-23 20:38:09 -05:00
parent 0effbff97b
commit c3dee478f5

View File

@ -2,7 +2,6 @@ package yggdrasil
import ( import (
"bytes" "bytes"
"crypto/ed25519"
"crypto/rand" "crypto/rand"
"crypto/tls" "crypto/tls"
"crypto/x509" "crypto/x509"
@ -13,6 +12,8 @@ import (
"math/big" "math/big"
"net" "net"
"time" "time"
"golang.org/x/crypto/ed25519"
) )
type tcptls struct { type tcptls struct {