From 1290bf766c700f939d9f63da1968b1e6357c75bf Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Thu, 13 Jun 2013 00:04:04 +0100
Subject: certmanager: Set ssl.curve to 'secp384r1' by default, to enable ECC
 ciphers

---
 core/certmanager.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core')

diff --git a/core/certmanager.lua b/core/certmanager.lua
index f9a54cb1..905a03cd 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -62,7 +62,7 @@ function create_context(host, mode, user_ssl_config)
 		verifyext = user_ssl_config.verifyext or default_verifyext;
 		options = user_ssl_config.options or default_options;
 		depth = user_ssl_config.depth;
-		curve = user_ssl_config.curve;
+		curve = user_ssl_config.curve or "secp384r1";
 		dhparam = user_ssl_config.dhparam;
 	};
 
-- 
cgit v1.2.3