Set up Go modules.
This should make it easier for us to reuse Go code properly. util/fipstools is kind of a mess. runner has been using relative imports, but Go seems to prefer this mechanism these days. Update-Note: The import spelling in ssl/test/runner changes. Also we now require Go 1.11. Or you could clone us into GOPATH, but no one does that. Change-Id: I8bf91e1e0345b3d0b3d17f5c642fe78b415b7dde Reviewed-on: https://boringssl-review.googlesource.com/31884 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
b5e4a225e4
commit
0990a552eb
@ -29,8 +29,9 @@
|
||||
and Clang should work on non-Windows platforms, and maybe on Windows too.
|
||||
To build the tests, you also need a C++ compiler with C++11 support.
|
||||
|
||||
* [Go](https://golang.org/dl/) is required. If not found by CMake, the go
|
||||
executable may be configured explicitly by setting `GO_EXECUTABLE`.
|
||||
* The most recent stable version of [Go](https://golang.org/dl/) is required.
|
||||
If not found by CMake, the go executable may be configured explicitly by
|
||||
setting `GO_EXECUTABLE`.
|
||||
|
||||
* To build the x86 and x86\_64 assembly, your assembler must support AVX2
|
||||
instructions and MOVBE. If using GNU binutils, you must have 2.22 or later
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
|
||||
"./poly1305"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/poly1305"
|
||||
)
|
||||
|
||||
// See RFC 7539.
|
||||
|
@ -21,7 +21,7 @@ import (
|
||||
"io"
|
||||
"strconv"
|
||||
|
||||
"./internal/edwards25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519/internal/edwards25519"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -15,7 +15,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"./internal/edwards25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519/internal/edwards25519"
|
||||
)
|
||||
|
||||
type zeroReader struct{}
|
||||
|
@ -19,7 +19,7 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"./ed25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519"
|
||||
)
|
||||
|
||||
type clientHandshakeState struct {
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"math/big"
|
||||
"time"
|
||||
|
||||
"./ed25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519"
|
||||
)
|
||||
|
||||
// serverHandshakeState contains details of a server handshake in progress.
|
||||
|
@ -15,8 +15,8 @@ import (
|
||||
"io"
|
||||
"math/big"
|
||||
|
||||
"./curve25519"
|
||||
"./ed25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/curve25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519"
|
||||
)
|
||||
|
||||
type keyType int
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"./ed25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519"
|
||||
)
|
||||
|
||||
type signer interface {
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"./ed25519"
|
||||
"boringssl.googlesource.com/boringssl/ssl/test/runner/ed25519"
|
||||
)
|
||||
|
||||
// Server returns a new TLS server side connection
|
||||
|
Loading…
Reference in New Issue
Block a user