Skip to content

Commit 3ee42cd

Browse files
Tries to fix issue
1 parent 77cbcb9 commit 3ee42cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (a *Armor) GetConfigForClient(clientHelloInfo *tls.ClientHelloInfo) (*tls.C
3939
// If the host or the clientCAs are not configured the function
4040
// returns the default TLS configuration
4141
if host == nil || len(host.ClientCAs) == 0 {
42-
return a.setupTLSConfig(), nil
42+
return nil, nil
4343
}
4444

4545
// Use existing host config if exist

0 commit comments

Comments
 (0)