s_server: unexpected behavior when using "-brief" option

Yaroslav Lelkin ylelkin1 at gmail.com
Fri Jul 9 06:32:31 UTC 2021


Hello all.

I'm trying to launch s_client and s_server like this:

$ openssl s_server -cert test.crt -key test.key -tls1_3
$ openssl s_client -CAfile test.crt -connect localhost:4433

After typing Q in s_server's terminal, it finishes its execution so
everything is OK.
However, with "-brief" option set, i.e.

$ openssl s_server -brief -cert test.crt -key test.key -tls1_3

it doesn't react to this command at all. From what I see this behavior is
controlled by "if" condition at "apps/s_server.c:2541".

s_server's manpage doesn't mention that "-brief" controls how user input is
processed.
So, can someone clarify, is this a bug, or missing documentation, or just
my misunderstanding?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210709/71410887/attachment.html>


More information about the openssl-users mailing list