Pull everything except the actual run call out of the closure
authortb <tb@openbsd.org>
Mon, 6 Nov 2023 15:21:44 +0000 (15:21 +0000)
committertb <tb@openbsd.org>
Mon, 6 Nov 2023 15:21:44 +0000 (15:21 +0000)
commit62d16ea3c562e91325511027c92a8032ac6392c5
tree9e6692eb37ffc995ac702ea85a4fd2ec5bf5afb8
parenta57b6b975d2c5549895e4af6a73681981336dafa
Pull everything except the actual run call out of the closure

The determination of the test group type and the JSON unmarshalling can be
done before the closure without performance impact. This is more readable
and eliminates the need of a temporary variable again.

Suggested by jsing
regress/lib/libcrypto/wycheproof/wycheproof.go