handshake: initiate the first key update after 100 packets

This commit is contained in:
Marten Seemann
2023-03-28 23:31:07 +09:00
parent 1ebd359b20
commit b03585160f
4 changed files with 31 additions and 22 deletions

View File

@@ -88,7 +88,7 @@ func runTestcase(testcase string) error {
switch testcase {
case "handshake", "transfer", "retry":
case "keyupdate":
handshake.KeyUpdateInterval = 100
handshake.FirstKeyUpdateInterval = 100
case "chacha20":
tlsConf.CipherSuites = []uint16{tls.TLS_CHACHA20_POLY1305_SHA256}
case "multiconnect":