DH_get0_g

Return the generator g stored in a DH object (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
BIGNUM const*
DH_get0_g(DH const* dh);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal BIGNUM pointer (do not free), or NULL if unset.

Parameters

NameDescription
dhDH object to query.