Comparison

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
comparison
equal deleted inserted replaced
5672:0c68cea74d5d 5673:9ca4d1ada906
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;
66 dhparam = user_ssl_config.dhparam;
65 }; 67 };
66 68
67 local ctx, err = ssl_newcontext(ssl_config); 69 local ctx, err = ssl_newcontext(ssl_config);
68 70
69 -- LuaSec ignores the cipher list from the config, so we have to take care 71 -- LuaSec ignores the cipher list from the config, so we have to take care