openssl s_server: print the accepting address and socket
authorRichard Levitte <levitte@openssl.org>
Fri, 30 Mar 2018 19:13:25 +0000 (21:13 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 4 Apr 2018 18:24:26 +0000 (20:24 +0200)
commit5540eb7040839b0075a2b7651b6a95264d025e15
tree7028752431911dd7ad388c63afc535c9d15d909d
parent8e2bec9b8aaba602af6fda2523a15238aa49aade
openssl s_server: print the accepting address and socket

The line saying ACCEPT is extended with a space followed by the the
address and port combination on which s_server accepts connections.
The address is written in such a way that s_client should be able to
accepts as argument for the '-connect' option.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5843)
apps/s_apps.h
apps/s_server.c
apps/s_socket.c