summaryrefslogtreecommitdiffstats
path: root/ssl/t1_meth.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-05-14 13:48:47 +0100
committerMatt Caswell <matt@openssl.org>2015-05-16 09:20:58 +0100
commita304d385900b72467808ba0c2db91f2fc26e0160 (patch)
treef48137a46fe6c1ce779c158c233d8d5806b078c4 /ssl/t1_meth.c
parentd45ba43dab962bdc84158efc0cdddd5f5a08cf5e (diff)
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.c5
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