Add missing code from SSL_CONF backport.
This commit is contained in:
parent
0338648426
commit
a41735288c
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue