mirror of https://github.com/ctz/rustls
Fix admin/format-bench for TLS1.3
This commit is contained in:
parent
1fb15ad8d2
commit
6c09bc5d0e
|
@ -17,10 +17,10 @@ for line in sys.stdin:
|
|||
pieces = line.split()
|
||||
|
||||
if pieces[0] == 'bulk':
|
||||
_, suite, direction, rate, unit = pieces
|
||||
_, version, suite, direction, rate, unit = pieces
|
||||
bulks.append((suite, direction, float(rate), unit))
|
||||
elif pieces[0] == 'handshakes':
|
||||
_, suite, role, auth, resumed, rate, unit = pieces
|
||||
_, version, suite, role, auth, resumed, rate, unit = pieces
|
||||
handshakes.append((suite, role, auth, resumed, float(rate), unit))
|
||||
|
||||
for suite, direction, rate, unit in sorted(bulks):
|
||||
|
|
Loading…
Reference in New Issue