[#DH_test_flags]
= DH&lowbar;test&lowbar;flags
:mrdocs:

Return which of the requested flag bits are currently set on a DH object (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;dh&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
DH&lowbar;test&lowbar;flags(
    xref:DH.adoc[DH] const* dh,
    int flags);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Subset of `flags` that are set, or 0 if none match&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dh*
| DH object to query&period;
| *flags*
| Bitmask of DH&lowbar;FLAG&lowbar;&ast; values to test (may combine several bits)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
