diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-03-20 16:49:14 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-03-26 16:16:41 +0100 |
commit | c3b344e36a088283731b4f65a70e85b100f55686 (patch) | |
tree | 27000a39428849e76799f34288bd4490a073b2a7 /ssl/ssl_txt.c | |
parent | Remove versions test from dtls1_buffer_message (diff) | |
download | openssl-c3b344e36a088283731b4f65a70e85b100f55686.tar.xz openssl-c3b344e36a088283731b4f65a70e85b100f55686.zip |
Provisional DTLS 1.2 support.
Add correct flags for DTLS 1.2, update s_server and s_client to handle
DTLS 1.2 methods.
Currently no support for version negotiation: i.e. if client/server selects
DTLS 1.2 it is that or nothing.
Diffstat (limited to 'ssl/ssl_txt.c')
-rw-r--r-- | ssl/ssl_txt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c index 6479d52c0c..093d84076f 100644 --- a/ssl/ssl_txt.c +++ b/ssl/ssl_txt.c @@ -123,6 +123,8 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) s="TLSv1"; else if (x->ssl_version == DTLS1_VERSION) s="DTLSv1"; + else if (x->ssl_version == DTLS1_2_VERSION) + s="DTLSv1.2"; else if (x->ssl_version == DTLS1_BAD_VER) s="DTLSv1-bad"; else |