Kill the bogus "send an SSLv3/TLS hello in SSLv2 format" crap from
authorguenther <guenther@openbsd.org>
Wed, 16 Apr 2014 15:10:07 +0000 (15:10 +0000)
committerguenther <guenther@openbsd.org>
Wed, 16 Apr 2014 15:10:07 +0000 (15:10 +0000)
commitbbf556937e9e7a9287e037d57be280cd8eaf58a0
treef18623592d6b713e32cbe6e426dc8a6c957665e0
parent598842de72e793e1a48da7a8e7e9b398690c7873
Kill the bogus "send an SSLv3/TLS hello in SSLv2 format" crap from
the SSLv23_* client code.  The server continues to accept it.  It
also kills the bits for SSL2 SESSIONs; even when the server gets
an SSLv2-style compat handshake, the session that it creates has
the correct version internally.

ok tedu@ beck@
14 files changed:
lib/libssl/s23_clnt.c
lib/libssl/s23_srvr.c
lib/libssl/src/ssl/s23_clnt.c
lib/libssl/src/ssl/s23_srvr.c
lib/libssl/src/ssl/ssl_asn1.c
lib/libssl/src/ssl/ssl_lib.c
lib/libssl/src/ssl/ssl_locl.h
lib/libssl/src/ssl/ssl_sess.c
lib/libssl/src/ssl/ssl_txt.c
lib/libssl/ssl_asn1.c
lib/libssl/ssl_lib.c
lib/libssl/ssl_locl.h
lib/libssl/ssl_sess.c
lib/libssl/ssl_txt.c