Dual DTLS version methods.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 6 Apr 2013 14:50:12 +0000 (15:50 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 18 Sep 2013 12:46:02 +0000 (13:46 +0100)
commit65a87d3cc3c21bb54e6e813ee21ad049fea1310a
tree945c6b15877c4263588e251455ad534c04bd7a00
parentb60b9e7afe649a564db13dbf10ca571e973844c1
Dual DTLS version methods.

Add new methods DTLS_*_method() which support both DTLS 1.0 and DTLS 1.2 and
pick the highest version the peer supports during negotiation.

As with SSL/TLS options can change this behaviour specifically
SSL_OP_NO_DTLSv1 and SSL_OP_NO_DTLSv1_2.
(cherry picked from commit c6913eeb762edffddecaaba5c84909d7a7962927)

Conflicts:

CHANGES
apps/s_client.c
apps/s_server.c
ssl/d1_clnt.c
ssl/d1_lib.c
ssl/d1_meth.c
ssl/d1_pkt.c
ssl/d1_srvr.c
ssl/dtls1.h
ssl/s3_clnt.c
ssl/s3_srvr.c
ssl/ssl.h