[#DSA_set_ex_data]
= DSA&lowbar;set&lowbar;ex&lowbar;data
:mrdocs:

Store application&hyphen;specific data on a DSA object at a CRYPTO ex&lowbar;data index (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;ex&lowbar;data(
    xref:DSA.adoc[DSA]* d,
    int idx,
    void* arg);
----

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

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *d*
| DSA object to update&period;
| *idx*
| Index obtained from DSA&lowbar;get&lowbar;ex&lowbar;new&lowbar;index() &sol; CRYPTO&lowbar;get&lowbar;ex&lowbar;new&lowbar;index()&period;
| *arg*
| Pointer to store (ownership rules follow CRYPTO&lowbar;set&lowbar;ex&lowbar;data())&period;
|===


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