Skip to content

Commit

Permalink
remove github.com/golang/protobuf dep (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
maditya authored Jun 4, 2021
1 parent 649add1 commit 9dcaee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/sshhost_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"testing"
"time"

"github.com/golang/protobuf/ptypes/empty"
"github.com/theparanoids/crypki/config"
"github.com/theparanoids/crypki/proto"
"google.golang.org/protobuf/types/known/emptypb"
)

func TestGetHostSSHCertificateAvailableSigningKeys(t *testing.T) {
Expand Down Expand Up @@ -53,7 +53,7 @@ func TestGetHostSSHCertificateAvailableSigningKeys(t *testing.T) {
mssp := mockSigningServiceParam{KeyUsages: tt.KeyUsages, sendError: false}
ss := initMockSigningService(mssp)
var ctx context.Context
var e *empty.Empty
var e *emptypb.Empty
keyMetas, err := ss.GetHostSSHCertificateAvailableSigningKeys(ctx, e)
if err != nil {
t.Fatal(err)
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ go 1.16

require (
github.com/golang/mock v1.5.0
github.com/golang/protobuf v1.5.2
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.4.0
github.com/miekg/pkcs11 v1.0.3
Expand Down

0 comments on commit 9dcaee0

Please sign in to comment.