Closed sc0Vu closed 5 years ago
The SetEllipticCurve function didn't change supported groups list in request. So I add SetSupportedEllipticCurves function to set supported groups list properly.
SetEllipticCurve
SetSupportedEllipticCurves
Because the curve functions were first added to OpenSSL 1.0.2 (see https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set1_groups.html), maybe this function should support the old versions?
The
SetEllipticCurve
function didn't change supported groups list in request. So I addSetSupportedEllipticCurves
function to set supported groups list properly.Because the curve functions were first added to OpenSSL 1.0.2 (see https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set1_groups.html), maybe this function should support the old versions?