summaryrefslogtreecommitdiff
path: root/ssl/t1_clnt.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_clnt.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_clnt.c')
-rw-r--r--ssl/t1_clnt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/t1_clnt.c b/ssl/t1_clnt.c
index be9759ae93..9e117e9a69 100644
--- a/ssl/t1_clnt.c
+++ b/ssl/t1_clnt.c
@@ -99,3 +99,9 @@ IMPLEMENT_tls_meth_func(TLS1_1_VERSION, TLSv1_1_client_method,
IMPLEMENT_tls_meth_func(TLS1_VERSION, TLSv1_client_method,
ssl_undefined_function,
ssl3_connect, tls1_get_client_method, TLSv1_enc_data)
+
+#ifndef OPENSSL_NO_SSL3_METHOD
+IMPLEMENT_ssl3_meth_func(SSLv3_client_method,
+ ssl_undefined_function,
+ ssl3_connect, tls1_get_client_method)
+#endif