Fix admin/format-bench for TLS1.3

This commit is contained in:
Joseph Birr-Pixton 2017-01-26 20:59:18 +00:00
parent 1fb15ad8d2
commit 6c09bc5d0e
1 changed files with 2 additions and 2 deletions

View File

@ -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):