Diff

core/certmanager.lua @ 5673:9ca4d1ada906

certmanager: Use 'curve' and 'dhparam' options from ssl config if present
author Matthew Wild <mwild1@gmail.com>
date Tue, 11 Jun 2013 21:44:53 +0100
parent 5621:63cfd59999b6
child 5674:ebdbf4cf0b2f
child 5676:c1021a2e7071
line wrap: on
line diff
--- a/core/certmanager.lua	Thu May 16 10:47:22 2013 +0100
+++ b/core/certmanager.lua	Tue Jun 11 21:44:53 2013 +0100
@@ -62,6 +62,8 @@
 		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;
+		dhparam = user_ssl_config.dhparam;
 	};
 
 	local ctx, err = ssl_newcontext(ssl_config);