Add missing code from SSL_CONF backport.
This commit is contained in:
parent
0338648426
commit
a41735288c
@ -525,6 +525,8 @@ int tls1_set_curves_list(unsigned char **pext, size_t *pextlen,
|
|||||||
ncb.nidcnt = 0;
|
ncb.nidcnt = 0;
|
||||||
if (!CONF_parse_list(str, ':', 1, nid_cb, &ncb))
|
if (!CONF_parse_list(str, ':', 1, nid_cb, &ncb))
|
||||||
return 0;
|
return 0;
|
||||||
|
if (pext == NULL)
|
||||||
|
return 1;
|
||||||
return tls1_set_curves(pext, pextlen, ncb.nid_arr, ncb.nidcnt);
|
return tls1_set_curves(pext, pextlen, ncb.nid_arr, ncb.nidcnt);
|
||||||
}
|
}
|
||||||
/* For an EC key set TLS id and required compression based on parameters */
|
/* For an EC key set TLS id and required compression based on parameters */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user