SSL_CTX_set1_curves to specify curves in Client Hello Supported Group Extension, not working

Jan Kohnert nospam001-lists at jan-kohnert.de
Tue Nov 26 08:47:15 UTC 2019


Hi,

Am Dienstag, 26. November 2019, 09:11:15 CET schrieb Rohit Kaushal:
> //enhancement, not working
> 
> if(SSL_CTX_set1_curves(myCtx, "P-521:P-384:P-256", 3)) != 1))
> 
>  return;
> 
> 
> 
> The API returns 0 (suggesting no error), but pcap shows no change, i.e.
> still shows the std. 13 curves.

According to [1] SSL_CTX_set1_curves() returns 1 for success, 0 for failure.

[1] https://www.openssl.org/docs/man1.1.0/man3/SSL_CTX_set1_curves.html

-- 
Kind regards Jan




More information about the openssl-users mailing list