Commit cdb1d6b4 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Add P-384 and P-521 to the default of --ecdh-curves option

parent 1b4ccd0d
......@@ -1323,9 +1323,9 @@ void fill_default_config(Config *config) {
tlsconf.session_timeout = std::chrono::hours(12);
#if OPENSSL_1_1_API
tlsconf.ecdh_curves = StringRef::from_lit("X25519:P-256");
tlsconf.ecdh_curves = StringRef::from_lit("X25519:P-256:P-384:P-521");
#else // !OPENSSL_1_1_API
tlsconf.ecdh_curves = StringRef::from_lit("P-256");
tlsconf.ecdh_curves = StringRef::from_lit("P-256:P-384:P-521");
#endif // !OPENSSL_1_1_API
auto &httpconf = config->http;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment