DH_meth_get_compute_key

Return the shared-secret compute_key callback from a DH_METHOD (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int(*
DH_meth_get_compute_key(DH_METHOD const* dhm))(unsigned char*, BIGNUM const*, DH*);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Pointer to the compute_key callback, or NULL if unset.

Parameters

NameDescription
dhmMethod table to query.