[#BN_set_negative]
= BN&lowbar;set&lowbar;negative
:mrdocs:

BN&lowbar;set&lowbar;negative sets sign of a BIGNUM

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
BN&lowbar;set&lowbar;negative(
    xref:BIGNUM.adoc[BIGNUM]* b,
    int n);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| pointer to the BIGNUM object
| *n*
| 0 if the BIGNUM b should be positive and a value !&equals; 0 otherwise
|===


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