Re: openssl s_time: refactor benchmark loops

2018-08-11 Thread Theo Buehler
On Sat, Aug 11, 2018 at 10:51:12AM -0500, Scott Cheloha wrote: > On Sat, Aug 11, 2018 at 11:22:09PM +0900, Kinichiro Inoguchi wrote: > > Hi, > > > > I saw that 2 loops are almost identical, and I think diff tidy up these 2 > > loops > > in 1 function. > > > > I found these 2 lines were not in

Re: openssl s_time: refactor benchmark loops

2018-08-11 Thread Scott Cheloha
On Sat, Aug 11, 2018 at 11:22:09PM +0900, Kinichiro Inoguchi wrote: > Hi, > > I saw that 2 loops are almost identical, and I think diff tidy up these 2 > loops > in 1 function. > > I found these 2 lines were not in original code. > > > + shutdown(SSL_get_fd(scon), SHUT_RDWR); > > +