Skip to content

Commit 724e32b

Browse files
authored
update go.mod and import paths (#70)
After changing the name of the repo from openssl-fips to simply openssl we must also update the go.mod file and import paths to ensure everything continues to build correctly.
1 parent 8caa99e commit 724e32b

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/golang-fips/openssl-fips
1+
module github.com/golang-fips/openssl
22

33
go 1.18

openssl/bbig/big.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"math/big"
1111
"unsafe"
1212

13-
"github.com/golang-fips/openssl-fips/openssl"
13+
"github.com/golang-fips/openssl/openssl"
1414
)
1515

1616
func Enc(b *big.Int) openssl.BigInt {

openssl/ecdh_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/golang-fips/openssl-fips/openssl"
12+
"github.com/golang-fips/openssl/openssl"
1313
)
1414

1515
func TestECDH(t *testing.T) {
@@ -157,7 +157,7 @@ func TestInvalidPublicKey(t *testing.T) {
157157
// Points not on the curve.
158158
"046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f6",
159159
"0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
160-
};
160+
}
161161

162162
for _, input := range keys {
163163
k, err := openssl.NewPublicKeyECDH("P-256", hexDecode(t, input))

openssl/ecdsa_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"crypto/elliptic"
1010
"testing"
1111

12-
"github.com/golang-fips/openssl-fips/openssl"
13-
"github.com/golang-fips/openssl-fips/openssl/bbig"
12+
"github.com/golang-fips/openssl/openssl"
13+
"github.com/golang-fips/openssl/openssl/bbig"
1414
)
1515

1616
func testAllCurves(t *testing.T, f func(*testing.T, elliptic.Curve)) {

openssl/openssl_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ import (
88
"runtime"
99
"testing"
1010

11-
"github.com/golang-fips/openssl-fips/openssl"
11+
"github.com/golang-fips/openssl/openssl"
1212
)
1313

14-
1514
func TestMain(m *testing.M) {
1615
exitVal := m.Run()
1716
runtime.GC()

openssl/rsa_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"strconv"
1313
"testing"
1414

15-
"github.com/golang-fips/openssl-fips/openssl"
16-
"github.com/golang-fips/openssl-fips/openssl/bbig"
15+
"github.com/golang-fips/openssl/openssl"
16+
"github.com/golang-fips/openssl/openssl/bbig"
1717
)
1818

1919
func fromBase16(base16 string) openssl.BigInt {

0 commit comments

Comments
 (0)