mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
fix test, setExtra
This commit is contained in:
parent
1d754e88a1
commit
2ecb32daa2
1 changed files with 0 additions and 1 deletions
|
|
@ -703,7 +703,6 @@ func TestExtraData(t *testing.T) {
|
|||
Cipher: tls.CipherSuiteName(0x0005),
|
||||
LoginWithMutualTLS: true,
|
||||
})
|
||||
mockCC.SetExtra(true)
|
||||
state, ok = mockCC.Extra().(*tlsState)
|
||||
require.True(t, ok)
|
||||
require.True(t, state.LoginWithMutualTLS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue