From c86f11da1c76af3c0ffc310777f5f6bd53e43c8e Mon Sep 17 00:00:00 2001
From: Aaron Jones <aaronmdjones@gmail.com>
Date: Wed, 20 May 2015 10:39:04 +0000
Subject: [PATCH] Fix regression introduced by previous commit

I really shouldn't copy and paste code.
---
 libratbox/src/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libratbox/src/openssl.c b/libratbox/src/openssl.c
index 878a3e3b..06d0ab55 100644
--- a/libratbox/src/openssl.c
+++ b/libratbox/src/openssl.c
@@ -358,7 +358,7 @@ rb_init_ssl(void)
 #if (OPENSSL_VERSION_NUMBER < 0x10100000L)
 	ssl_client_ctx = SSL_CTX_new(TLSv1_client_method());
 #else
-	ssl_server_ctx = SSL_CTX_new(TLS_client_method());
+	ssl_client_ctx = SSL_CTX_new(TLS_client_method());
 #endif
 
 	if(ssl_client_ctx == NULL)