Comparison

core/certmanager.lua @ 5676:c1021a2e7071

certmanager: Set ssl.curve to 'secp384r1' by default, to enable ECC ciphers
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 Jun 2013 00:04:04 +0100
parent 5673:9ca4d1ada906
child 5677:9afc94c4346e
child 5678:b7ebeae14053
comparison
equal deleted inserted replaced
5675:e29ece65e3b0 5676:c1021a2e7071
60 cafile = resolve_path(config_path, user_ssl_config.cafile); 60 cafile = resolve_path(config_path, user_ssl_config.cafile);
61 verify = user_ssl_config.verify or default_verify; 61 verify = user_ssl_config.verify or default_verify;
62 verifyext = user_ssl_config.verifyext or default_verifyext; 62 verifyext = user_ssl_config.verifyext or default_verifyext;
63 options = user_ssl_config.options or default_options; 63 options = user_ssl_config.options or default_options;
64 depth = user_ssl_config.depth; 64 depth = user_ssl_config.depth;
65 curve = user_ssl_config.curve; 65 curve = user_ssl_config.curve or "secp384r1";
66 dhparam = user_ssl_config.dhparam; 66 dhparam = user_ssl_config.dhparam;
67 }; 67 };
68 68
69 local ctx, err = ssl_newcontext(ssl_config); 69 local ctx, err = ssl_newcontext(ssl_config);
70 70