[#DSA_set_method]
= DSA&lowbar;set&lowbar;method
:mrdocs:

Select the DSA&lowbar;METHOD used for operations on `dsa` (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;set&lowbar;method(
    xref:DSA.adoc[DSA]* dsa,
    xref:DSA_METHOD-07a.adoc[DSA&lowbar;METHOD] const* meth);
----

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

Non&hyphen;zero on success&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dsa*
| DSA key whose method is replaced&period;
| *meth*
| Method implementation to attach&semi; releases any prior ENGINE method&period;
|===


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