Просмотр исходного кода

implemented some requested changes

Raal Goff 4 лет назад
Родитель
Сommit
49c41636cc
2 измененных файлов с 5 добавлено и 1 удалено
  1. 4 0
      api/api_test.go
  2. 1 1
      authority/tls.go

+ 4 - 0
api/api_test.go

@@ -201,6 +201,10 @@ type mockAuthority struct {
 	version                      func() authority.Version
 }
 
+func (m *mockAuthority) GetCertificateRevocationList() ([]byte, error) {
+	panic("implement me")
+}
+
 // TODO: remove once Authorize is deprecated.
 func (m *mockAuthority) Authorize(ctx context.Context, ott string) ([]provisioner.SignOption, error) {
 	return m.AuthorizeSign(ott)

+ 1 - 1
authority/tls.go

@@ -11,8 +11,8 @@ import (
 	"encoding/json"
 	"encoding/pem"
 	"fmt"
-	"net"
 	"math/big"
+	"net"
 	"net/http"
 	"strings"
 	"time"