[#EVP_PKEY_meth_add0]
= EVP&lowbar;PKEY&lowbar;meth&lowbar;add0
:mrdocs:

Register an application&hyphen;defined EVP&lowbar;PKEY&lowbar;METHOD (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
EVP&lowbar;PKEY&lowbar;meth&lowbar;add0(xref:EVP_PKEY_METHOD.adoc[EVP&lowbar;PKEY&lowbar;METHOD] const* pmeth);
----

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

Prefer providers for new algorithms&period;

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pmeth*
| Method table to add to the global list&semi; must remain valid&period;
|===


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