fixed keystore.go and keystore_test.go modules imports

Signed-off-by: George Moldoveanu <mol.george@gmail.com>
This commit is contained in:
George Moldoveanu
2021-09-10 13:28:45 +01:00
parent 0463681244
commit 563aeb1789
2 changed files with 5 additions and 3 deletions
@@ -28,9 +28,10 @@ import (
"crypto/x509"
"time"
"github.com/jetstack/cert-manager/pkg/util/pki"
jks "github.com/pavel-v-chernykh/keystore-go/v4"
"software.sslmate.com/src/go-pkcs12"
"github.com/jetstack/cert-manager/pkg/util/pki"
)
const (
@@ -23,12 +23,13 @@ import (
"fmt"
"testing"
cmapi "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1"
"github.com/jetstack/cert-manager/pkg/util/pki"
jks "github.com/pavel-v-chernykh/keystore-go/v4"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"software.sslmate.com/src/go-pkcs12"
cmapi "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1"
"github.com/jetstack/cert-manager/pkg/util/pki"
)
func mustGeneratePrivateKey(t *testing.T, encoding cmapi.PrivateKeyEncoding) []byte {