[#EVP_MD_CTX_set_update_fn]
= EVP&lowbar;MD&lowbar;CTX&lowbar;set&lowbar;update&lowbar;fn
:mrdocs:

Override the update function used by a digest context (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
EVP&lowbar;MD&lowbar;CTX&lowbar;set&lowbar;update&lowbar;fn(
    xref:EVP_MD_CTX.adoc[EVP&lowbar;MD&lowbar;CTX]* ctx,
    int(* update)(xref:EVP_MD_CTX.adoc[EVP&lowbar;MD&lowbar;CTX]*, void const*, size&lowbar;t));
----

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

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Digest context whose update implementation is replaced&period;
| *update*
| Replacement update callback, or NULL to restore the method default&period;
|===


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