Option to set current cert to server certificate.
[openssl.git] / ssl / t1_clnt.c
index 578617e..e7998d1 100644 (file)
@@ -78,15 +78,18 @@ static const SSL_METHOD *tls1_get_client_method(int ver)
 IMPLEMENT_tls_meth_func(TLS1_2_VERSION, TLSv1_2_client_method,
                        ssl_undefined_function,
                        ssl3_connect,
-                       tls1_get_client_method)
+                       tls1_get_client_method,
+                       TLSv1_2_enc_data)
 
 IMPLEMENT_tls_meth_func(TLS1_1_VERSION, TLSv1_1_client_method,
                        ssl_undefined_function,
                        ssl3_connect,
-                       tls1_get_client_method)
+                       tls1_get_client_method,
+                       TLSv1_1_enc_data)
 
 IMPLEMENT_tls_meth_func(TLS1_VERSION, TLSv1_client_method,
                        ssl_undefined_function,
                        ssl3_connect,
-                       tls1_get_client_method)
+                       tls1_get_client_method,
+                       TLSv1_enc_data)