mirror of
https://github.com/square/certigo.git
synced 2026-10-21 05:21:07 +00:00
@@ -247,6 +247,10 @@ func GetConnectionState(startTLSType, connectName, connectTo, identity, clientCe
|
||||
return nil, nil, fmt.Errorf("error connecting: %v", result.err)
|
||||
}
|
||||
|
||||
if cri == nil {
|
||||
return result.state, nil, nil
|
||||
}
|
||||
|
||||
if result.state.Version < tls.VersionTLS12 && *cri != nil {
|
||||
// Sending supported signature schemes was added in TLS 1.2,
|
||||
// but Go lies to us in the GetClientCertificate callback and
|
||||
|
||||
Reference in New Issue
Block a user