Skip to content

Commit 0512216

Browse files
committed
Fix TLS config interface
1 parent 3d24f9b commit 0512216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/tls/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type Config interface {
1717
SetServerName(serverName string)
1818
NextProtos() []string
1919
SetNextProtos(nextProto []string)
20-
Config() (*STDConfig, error)
20+
STDConfig() (*STDConfig, error)
2121
Client(conn net.Conn) (Conn, error)
2222
Clone() Config
2323
}

0 commit comments

Comments
 (0)