[#DSA_meth_set_verify]
= DSA&lowbar;meth&lowbar;set&lowbar;verify
:mrdocs:

Set the DSA signature&hyphen;verification callback on a custom DSA&lowbar;METHOD (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
DSA&lowbar;meth&lowbar;set&lowbar;verify(
    xref:DSA_METHOD-07a.adoc[DSA&lowbar;METHOD]* dsam,
    int(* verify)(unsigned char const*, int, xref:DSA_SIG.adoc[DSA&lowbar;SIG]*, xref:DSA.adoc[DSA]*));
----

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

1 on success&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dsam*
| Method object to update&period;
| *verify*
| Callback invoked by DSA&lowbar;do&lowbar;verify()&sol;DSA&lowbar;verify(), or NULL&period;
|===


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