Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
SSL_set_tmp_ecdh, SSL_CTX_set_tmp_ecdh, SSL_set_ecdh_auto, SSL_CTX_set_ecdh_auto, SSL_set_tmp_ecdh_callback, SSL_CTX_set_tmp_ecdh_callback — select a curve for ECDH ephemeral key exchangeSYNOPSIS
#include <openssl/ssl.h>SSL_set_tmp_ecdh(SSL *ssl, EC_KEY *ecdh);
SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, EC_KEY *ecdh);
SSL_set_ecdh_auto(SSL *ssl, int state);
SSL_CTX_set_ecdh_auto(SSL_CTX *ctx, int state);
SSL_set_tmp_ecdh_callback(SSL *ssl, EC_KEY *(*ecdh)(SSL *ssl, int is_export, int keylength));
SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx, EC_KEY *(*ecdh)(SSL *ssl, int is_export, int keylength));