diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-29 22:56:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-29 22:56:51 +0000 |
commit | 7409d7ad517650db332ae528915a570e4e0ab88b (patch) | |
tree | 30ef3e18eff537854b4e443080bfb1f96c0fef12 /ssl/t1_meth.c | |
parent | 08557cf22cd7c337d7430c32fb21ed29a77a8131 (diff) |
Initial incomplete TLS v1.2 support. New ciphersuites added, new version
checking added, SHA256 PRF support added.
At present only RSA key exchange ciphersuites work with TLS v1.2 as the
new signature format is not yet implemented.
Diffstat (limited to 'ssl/t1_meth.c')
-rw-r--r-- | ssl/t1_meth.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl/t1_meth.c b/ssl/t1_meth.c index 3257636425..53c807de28 100644 --- a/ssl/t1_meth.c +++ b/ssl/t1_meth.c @@ -62,6 +62,8 @@ static const SSL_METHOD *tls1_get_method(int ver) { + if (ver == TLS1_2_VERSION) + return TLSv1_2_method(); if (ver == TLS1_1_VERSION) return TLSv1_1_method(); if (ver == TLS1_VERSION) @@ -69,6 +71,11 @@ static const SSL_METHOD *tls1_get_method(int ver) return NULL; } +IMPLEMENT_tls_meth_func(TLS1_2_VERSION, TLSv1_2_method, + ssl3_accept, + ssl3_connect, + tls1_get_method) + IMPLEMENT_tls_meth_func(TLS1_1_VERSION, TLSv1_1_method, ssl3_accept, ssl3_connect, |