summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2015-03-19 15:21:12 -0400
committerVijay Bellur <vbellur@redhat.com>2015-03-27 11:29:33 -0700
commit0934432c51aef8ae7e890c3fc2ff2ae843b46698 (patch)
tree25eb553828a188e83dc697f9ba6f392b211985f1
parent651514dd66019a9f37dfa96374e31dd497a18a59 (diff)
socket: use TLS 1.2 instead of 1.0
Change-Id: I96e9b37e4855f5e12b2dbecf1f0b0887b21ad5ad Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: http://review.gluster.org/9949 Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--rpc/rpc-transport/socket/src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 054a1c0b1db..e128afb5e8d 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -3912,7 +3912,7 @@ socket_init (rpc_transport_t *this)
if (priv->ssl_enabled || priv->mgmt_ssl) {
SSL_library_init();
SSL_load_error_strings();
- priv->ssl_meth = (SSL_METHOD *)TLSv1_method();
+ priv->ssl_meth = (SSL_METHOD *)TLSv1_2_method();
priv->ssl_ctx = SSL_CTX_new(priv->ssl_meth);
if (SSL_CTX_set_cipher_list(priv->ssl_ctx, cipher_list) == 0) {