Skip to content

Commit

Permalink
fix a unit test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiwei committed Sep 26, 2021
1 parent 505fda5 commit e4b15ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cert/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestNewCertInfo(t *testing.T) {
DNSNames: []string{"localhost", "china.com"},
IPAddrs: []net.IP{net.IPv4(127, 0, 0, 1), net.IPv4(1, 1, 1, 1)},
KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment | x509.KeyUsageCertSign | x509.KeyUsageCRLSign,
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth},
},
},
{
Expand Down

0 comments on commit e4b15ea

Please sign in to comment.