Skip to content

Commit

Permalink
Go formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
mschexnaydre committed Oct 17, 2023
1 parent 6469a04 commit 352bedb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,9 +867,9 @@ func TestClientCertificate(t *testing.T) {
"RequestClientCert_cert_sigscheme": { // specify signature algorithm
clientCfg: &Config{RootCAs: srvCAPool, Certificates: []tls.Certificate{cert}},
serverCfg: &Config{
SignatureSchemes:[]tls.SignatureScheme{tls.ECDSAWithP521AndSHA512},
Certificates: []tls.Certificate{srvCert},
ClientAuth: RequestClientCert,
SignatureSchemes: []tls.SignatureScheme{tls.ECDSAWithP521AndSHA512},
Certificates: []tls.Certificate{srvCert},
ClientAuth: RequestClientCert,
},
},
"RequestClientCert_cert": {
Expand Down Expand Up @@ -1360,7 +1360,7 @@ func TestServerCertificate(t *testing.T) {
}},
},
"good_ca_custom_verify_peer": {
clientCfg: &Config{
clientCfg: &Config{
RootCAs: caPool,
VerifyPeerCertificate: func([][]byte, [][]*x509.Certificate) error {
return errWrongCert
Expand Down

0 comments on commit 352bedb

Please sign in to comment.