[#DH_bits] = DH_bits :mrdocs: Return the bit length of the Diffie‐Hellman prime modulus p (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_bits(xref:DH.adoc[DH] const* dh); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Number of significant bits in p. == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object whose parameters are queried; `dh` and its p must be non‐NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#