Set the context-copy callback on a custom EVP_MD method (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
int
EVP_MD_meth_set_copy(
EVP_MD* md,
int(* copy)(EVP_MD_CTX*, EVP_MD_CTX const*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on error.
| Name | Description |
|---|---|
| md | Digest method being constructed with EVP_MD_meth_new(). |
| copy | Callback that duplicates digest state from from into to. |