mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03: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:
parent
0effbff97b
commit
c3dee478f5
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue