Merge duplicate benchmark() GET/SSL_shutdown blocks into doConnection().
authorcheloha <cheloha@openbsd.org>
Tue, 21 Aug 2018 15:56:39 +0000 (15:56 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 21 Aug 2018 15:56:39 +0000 (15:56 +0000)
commit2d831f520cbe5daa1dbe2d91e16fa93c2d5e9cdc
tree0eb1f2ba27a0db53b14996f2cd33c878e7385bf6
parentecd170eeadc81331d3aceee3ffb63a8c6d7bc124
Merge duplicate benchmark() GET/SSL_shutdown blocks into doConnection().

We need to then remove the shadow i from the GET block.  While there,
move retval's declaration to the beginning of the function.

As doConnection() now executes the body of the benchmark's test, rename
it to "run_test".

Shadow variable spotted by tb@.

ok tb@
usr.bin/openssl/s_time.c