CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2020/10/02 09:43:48

Modified files:
        usr.bin/openssl: s_server.c 

Log message:
Add -[46] nops for compatibility with the OpenSSL s_server

On OpenBSD it's necessary to use the eopenssl11 s_server with either -4
or -6 to choose an address family. I often want to try something with an
OpenSSL server and then test the same thing with LibreSSL or vice versa.
Adding and removing -4s on top of editing the command is annoying and
distracting.

This commits teaches our s_server to ignore -4 and -6 and thus makes
commands that work with eopenssl11 more likely to work with openssl(1).
These options are deliberately undocumented and don't show up in help
listings.

ok bcook inoguchi jsing

Reply via email to