[#DSA_SIG_set0]
= DSA&lowbar;SIG&lowbar;set0
:mrdocs:

Set the r and s components of a DSA signature, transferring ownership&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
DSA&lowbar;SIG&lowbar;set0(
    xref:DSA_SIG.adoc[DSA&lowbar;SIG]* sig,
    xref:BIGNUM.adoc[BIGNUM]* r,
    xref:BIGNUM.adoc[BIGNUM]* s);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sig*
| Signature object to update&period;
| *r*
| New r value&semi; ownership transferred to `sig` (must not be NULL)&period;
| *s*
| New s value&semi; ownership transferred to `sig` (must not be NULL)&period;
|===


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