Return the optional private‐value length hint stored on a DH object (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
long
DH_get_length(DH const* dh);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Preferred secret‐exponent length in bits, or 0 if the default should be used.

Parameters

Name

Description

dh

DH object to query.

Created with MrDocs