[#SRP_user_pwd_set_gN]
= SRP&lowbar;user&lowbar;pwd&lowbar;set&lowbar;gN
:mrdocs:

Set the SRP group parameters on a user verifier entry (caller retains ownership of `g&sol;N&semi;` deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
SRP&lowbar;user&lowbar;pwd&lowbar;set&lowbar;gN(
    xref:SRP_user_pwd.adoc[SRP&lowbar;user&lowbar;pwd]* user&lowbar;pwd,
    xref:BIGNUM.adoc[BIGNUM] const* g,
    xref:BIGNUM.adoc[BIGNUM] const* N);
----

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

[cols="1,4"]
|===
| Name| Description
| *user&lowbar;pwd*
| Entry to update&period;
| *g*
| Generator for the SRP group (not freed by SRP&lowbar;user&lowbar;pwd&lowbar;free())&period;
| *N*
| Safe prime modulus for the SRP group (not freed by SRP&lowbar;user&lowbar;pwd&lowbar;free())&period;
|===


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