Borrow pointers to the public and private key BIGNUMs of a DH object (deprecated).
Declared in <openssl/dh.h>
[[deprecated]]
void
DH_get0_key(
DH const* dh,
BIGNUM const** pub_key,
BIGNUM const** priv_key);
Deprecated. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| dh | DH object to query. |
| pub_key | Receives an internal pointer to the public value, or NULL to skip; do not free. |
| priv_key | Receives an internal pointer to the private value, or NULL to skip; do not free. |