Add missing code from SSL_CONF backport.

This commit is contained in:
Dr. Stephen Henson 2013-09-13 16:19:15 +01:00
parent 0338648426
commit a41735288c

View file

@ -525,6 +525,8 @@ int tls1_set_curves_list(unsigned char **pext, size_t *pextlen,
ncb.nidcnt = 0;
if (!CONF_parse_list(str, ':', 1, nid_cb, &ncb))
return 0;
if (pext == NULL)
return 1;
return tls1_set_curves(pext, pextlen, ncb.nid_arr, ncb.nidcnt);
}
/* For an EC key set TLS id and required compression based on parameters */