apps/s_socket.c: print only dynamically allocated port in do_server.
authorAndy Polyakov <appro@openssl.org>
Sat, 14 Apr 2018 19:42:21 +0000 (21:42 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 17 Apr 2018 14:41:01 +0000 (16:41 +0200)
commit826e154481e93413a79c37cb1bf4da6175a05875
tree3e070a0bcf862ee609ec5d25fcaff977446dd5ec
parentdbabc862966b9afbcc55c59cc07ab643a14ffb31
apps/s_socket.c: print only dynamically allocated port in do_server.

For formal backward compatibility print original "ACCEPT" message for
fixed port and "ACCEPT host:port" for dynamically allocated.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5956)
apps/s_socket.c