Skip to content

Commit 0e1b88b

Browse files
committed
get tls ciphersuite
1 parent 084dd65 commit 0e1b88b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (c *clientHandler) HasTLSForTransfers() bool {
260260
return c.transferTLS
261261
}
262262

263-
func (c *clientHandler) GetTLSCiphersuite() (uint16, error) {
263+
func (c *clientHandler) GetTLSCipherSuite() (uint16, error) {
264264
conn := c.conn
265265
tlsConn, ok := conn.(*tls.Conn)
266266
if !ok {

driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ type ClientContext interface {
189189
HasTLSForTransfers() bool
190190

191191
// GetTlSCipherSuite returns ID
192-
GetTlSCipherSuite() (uint16, error)
192+
GetTLSCipherSuite() (uint16, error)
193193

194194
// GetLastCommand returns the last received command
195195
GetLastCommand() string

0 commit comments

Comments
 (0)