]> git.ipfire.org Git - thirdparty/openssl.git/commit - apps/s_client.c
Force ssl/tls protocol flags to use stream sockets
authorBenny Baumann <BenBE@geshi.org>
Wed, 24 Jun 2020 19:54:05 +0000 (21:54 +0200)
committerPauli <paul.dale@oracle.com>
Tue, 30 Jun 2020 01:12:59 +0000 (11:12 +1000)
commit2c9ba46c90e9d25040260bbdc43e87921f08c788
tree5ef7a9cf188b3f485138ce0b0220f2646c1afdbb
parent64fdea12beb7fa0a1c2d2c67ee998e3e5d895b0b
Force ssl/tls protocol flags to use stream sockets

Prior to this patch doing something like
  openssl s_client -dtls1 -tls1 ...
could cause s_client to speak TLS on a UDP socket
which does not normally make much sense.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12266)
apps/s_client.c