DH_get0_pqg

Borrow pointers to the prime, optional subprime, and generator of a DH object (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
void
DH_get0_pqg(
    DH const* dh,
    BIGNUM const** p,
    BIGNUM const** q,
    BIGNUM const** g);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
dhDH object to query.
pReceives an internal pointer to p, or NULL to skip; do not free.
qReceives an internal pointer to q when present, or NULL to skip; do not free.
gReceives an internal pointer to g, or NULL to skip; do not free.