TLSProxy/Proxy.pm: straighten inner loop termination logic.
authorAndy Polyakov <appro@openssl.org>
Thu, 12 Apr 2018 08:05:22 +0000 (10:05 +0200)
committerAndy Polyakov <appro@openssl.org>
Sat, 14 Apr 2018 18:00:04 +0000 (20:00 +0200)
commit4442061532fb1a98c22609bf37303b77716df624
tree518f1d3cf6bc60541fa5488fc04883ab0a8aa7b7
parentde5b3a8645a3b2dd22fa8866e64488eb2b69777d
TLSProxy/Proxy.pm: straighten inner loop termination logic.

Original condition was susceptible to race condition...

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5933)
util/perl/TLSProxy/Proxy.pm