[#RSA_set_default_method]
= RSA&lowbar;set&lowbar;default&lowbar;method
:mrdocs:

Set the default RSA&lowbar;METHOD used when creating new RSA keys (deprecated&semi; not thread&hyphen;safe)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
RSA&lowbar;set&lowbar;default&lowbar;method(xref:RSA_METHOD.adoc[RSA&lowbar;METHOD] const* meth);
----

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

[cols="1,4"]
|===
| Name| Description
| *meth*
| Method table that becomes the process default unless an ENGINE overrides it&period;
|===


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