Use golang.org/x/crypto/ed25519 instead of crypto/ed25519 for pre-Go 1.13

This commit is contained in:
Neil Alexander 2020-01-25 13:23:42 +00:00
parent f8387ff93d
commit 8c9eb71e8b
3 changed files with 6 additions and 3 deletions

View file

@ -15,11 +15,12 @@
package basecomponent
import (
"crypto/ed25519"
"database/sql"
"io"
"net/http"
"golang.org/x/crypto/ed25519"
"github.com/matrix-org/dendrite/common/keydb"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/naffka"

View file

@ -16,9 +16,10 @@ package keydb
import (
"context"
"crypto/ed25519"
"net/url"
"golang.org/x/crypto/ed25519"
"github.com/matrix-org/dendrite/common/keydb/postgres"
"github.com/matrix-org/gomatrixserverlib"
)

View file

@ -17,10 +17,11 @@ package postgres
import (
"context"
"crypto/ed25519"
"database/sql"
"math"
"golang.org/x/crypto/ed25519"
"github.com/matrix-org/gomatrixserverlib"
)