[#EVP_ENCODE_CTX_copy]
= EVP&lowbar;ENCODE&lowbar;CTX&lowbar;copy
:mrdocs:

Copy a Base64 encode&sol;decode context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;ENCODE&lowbar;CTX&lowbar;copy(
    xref:EVP_ENCODE_CTX.adoc[EVP&lowbar;ENCODE&lowbar;CTX]* dctx,
    xref:EVP_ENCODE_CTX.adoc[EVP&lowbar;ENCODE&lowbar;CTX] const* sctx);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dctx*
| Destination context (must already be allocated)&period;
| *sctx*
| Source context to copy from&period;
|===


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