diff options
author | tb <> | 2020-10-02 15:43:48 +0000 |
---|---|---|
committer | tb <> | 2020-10-02 15:43:48 +0000 |
commit | 3d91b288cd86686f4b7c3038882c3284be0de26b (patch) | |
tree | a6328cf8b21efffd2815e691640952536d963c88 /src/lib/libssl/ssl_srvr.c | |
parent | 1e6631e64ad0c7d8e96441fe5ec6a0440f5c6ec6 (diff) | |
download | openbsd-3d91b288cd86686f4b7c3038882c3284be0de26b.tar.gz openbsd-3d91b288cd86686f4b7c3038882c3284be0de26b.tar.bz2 openbsd-3d91b288cd86686f4b7c3038882c3284be0de26b.zip |
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
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions