apps/s_socket.c: Fix do_accept
authorRichard Levitte <levitte@openssl.org>
Thu, 19 Apr 2018 14:35:37 +0000 (16:35 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 19 Apr 2018 19:08:00 +0000 (21:08 +0200)
commitb38999240954f7ca80abbf8064cc4c87e306a3b2
treef740586358799129be90aab6adc1576c46574951
parent5e80a5da0320b90c6af29195e168ec6e22de2caf
apps/s_socket.c: Fix do_accept

do_accept() checked that the peer IP address had a PTR record, and would
fail if not.  The retrieved named was then never used, even though passed
around.  All this is unnecessary, so we remove it.

Fixes #3407

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6018)
apps/s_apps.h
apps/s_server.c
apps/s_socket.c