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>
Tue, 9 Apr 2013 13:02:48 +0000 (14:02 +0100)
commitc6913eeb762edffddecaaba5c84909d7a7962927
treea57c3c33e23b846852f00ec4681c6fdeccf8ea85
parent04638f2fc335a6dc2af8e5d556d36e29c261dcd2
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.
12 files changed:
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