提交 2588d4ca 编写于 作者: D Dr. Stephen Henson

curves can be set in both client and server

上级 878b5d07
......@@ -246,8 +246,6 @@ static int cmd_client_sigalgs(SSL_CONF_CTX *cctx, const char *value)
static int cmd_curves(SSL_CONF_CTX *cctx, const char *value)
{
int rv;
if (!(cctx->flags & SSL_CONF_FLAG_CLIENT))
return -2;
if (cctx->ssl)
rv = SSL_set1_curves_list(cctx->ssl, value);
/* NB: ctx == NULL performs syntax checking only */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册