[#EVP_MD_CTX_copy] = EVP_MD_CTX_copy :mrdocs: Copy a digest context into a freshly allocated destination (legacy helper). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_MD_CTX_copy( xref:EVP_MD_CTX.adoc[EVP_MD_CTX]* out, xref:EVP_MD_CTX.adoc[EVP_MD_CTX] const* in); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *out* | Destination context; must not already hold digest state (prefer EVP_MD_CTX_copy_ex). | *in* | Source context to duplicate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#