forked from quic-go/quic-go
run gofmt -s on main and server config
This commit is contained in:
@@ -71,11 +71,9 @@ func tlsConfigFromCertpath(certpath string) (*tls.Config, error) {
|
||||
return nil, err
|
||||
}
|
||||
return &tls.Config{
|
||||
Certificates: []tls.Certificate{
|
||||
tls.Certificate{
|
||||
Certificate: [][]byte{certDer},
|
||||
PrivateKey: key,
|
||||
},
|
||||
},
|
||||
Certificates: []tls.Certificate{{
|
||||
Certificate: [][]byte{certDer},
|
||||
PrivateKey: key,
|
||||
}},
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user