diff options
author | Matt Caswell <matt@openssl.org> | 2015-05-14 14:48:47 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-16 10:20:58 +0200 |
commit | a304d385900b72467808ba0c2db91f2fc26e0160 (patch) | |
tree | f48137a46fe6c1ce779c158c233d8d5806b078c4 /ssl/t1_meth.c | |
parent | Updates following review comments (diff) | |
download | openssl-a304d385900b72467808ba0c2db91f2fc26e0160.tar.xz openssl-a304d385900b72467808ba0c2db91f2fc26e0160.zip |
Move SSLv3_*method() functions
Move these functions into t1_clnt.c, t1_srvr.c and t1_meth.c and take
advantage of the existing tls1_get*_method() functions that all the other
methods are using. Since these now have to support SSLv3 anyway we might
as well use the same set of get functions for both TLS and SSLv3.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'ssl/t1_meth.c')
-rw-r--r-- | ssl/t1_meth.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/t1_meth.c b/ssl/t1_meth.c index 044bac53f1..aa16d3f2a8 100644 --- a/ssl/t1_meth.c +++ b/ssl/t1_meth.c @@ -93,3 +93,8 @@ IMPLEMENT_tls_meth_func(TLS1_1_VERSION, TLSv1_1_method, IMPLEMENT_tls_meth_func(TLS1_VERSION, TLSv1_method, ssl3_accept, ssl3_connect, tls1_get_method, TLSv1_enc_data) + +#ifndef OPENSSL_NO_SSL3_METHOD +IMPLEMENT_ssl3_meth_func(SSLv3_method, + ssl3_accept, ssl3_connect, tls1_get_method) +#endif |