cloudflare / boring

BoringSSL bindings for the Rust programming language.
367 stars 114 forks source link

Expose SSL(_CTX)_set1_curves_list #270

Closed bwesterb closed 2 months ago

bwesterb commented 2 months ago

set_surves_list is similar to set_curves, but the curves are specified by a string. This makes it convenient when the supported curves of the underlying BoringSSL is not known at compile time.

Also fix a bug in checking return value of SSL_set1_curves_list.