Skip to content

Commit

Permalink
Merge pull request #175 from google/x509_cert
Browse files Browse the repository at this point in the history
Change crypto/x509 dependencies to ct/x509
  • Loading branch information
jessieqliu authored Mar 23, 2022
2 parents 5dafd89 + 723cb7f commit 9da3128
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/attest.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package client

import (
"crypto/x509"
"fmt"
"io/ioutil"
"net/http"

"github.com/google/certificate-transparency-go/x509"
pb "github.com/google/go-tpm-tools/proto/attest"
)

Expand Down
2 changes: 1 addition & 1 deletion client/attest_network_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package client

import (
"crypto/x509"
"net/http"
"testing"

"github.com/google/certificate-transparency-go/x509"
"github.com/google/go-tpm-tools/internal/test"
pb "github.com/google/go-tpm-tools/proto/attest"
"google.golang.org/protobuf/proto"
Expand Down
2 changes: 1 addition & 1 deletion client/attest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"bytes"
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"math/big"
"net/http"
"net/http/httptest"
"testing"
"time"

"github.com/google/certificate-transparency-go/x509"
"github.com/google/go-tpm-tools/internal/test"
)

Expand Down
2 changes: 1 addition & 1 deletion client/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"bytes"
"crypto"
"crypto/subtle"
"crypto/x509"
"errors"
"fmt"
"io"

"github.com/google/certificate-transparency-go/x509"
"github.com/google/go-tpm-tools/internal"
pb "github.com/google/go-tpm-tools/proto/tpm"
"github.com/google/go-tpm/tpm2"
Expand Down
2 changes: 1 addition & 1 deletion client/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"crypto"
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"io"
"math/big"
"reflect"
"testing"
"time"

"github.com/google/certificate-transparency-go/x509"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/tpmutil"

Expand Down

0 comments on commit 9da3128

Please sign in to comment.