[#EVP_MD_meth_set_copy] = EVP_MD_meth_set_copy :mrdocs: Set the context‐copy callback on a custom EVP_MD method (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int EVP_MD_meth_set_copy( xref:EVP_MD.adoc[EVP_MD]* md, int(* copy)(xref:EVP_MD_CTX.adoc[EVP_MD_CTX]*, xref:EVP_MD_CTX.adoc[EVP_MD_CTX] const*)); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *md* | Digest method being constructed with EVP_MD_meth_new(). | *copy* | Callback that duplicates digest state from `from` into `to.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#