[#MDC2_Final]
= MDC2&lowbar;Final
:mrdocs:

Finalise an MDC&hyphen;2 digest and write the 16&hyphen;byte result (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
MDC2&lowbar;Final(
    unsigned char* md,
    xref:MDC2_CTX.adoc[MDC2&lowbar;CTX]* c);
----

[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 failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *md*
| Destination buffer for the MDC2&lowbar;DIGEST&lowbar;LENGTH&hyphen;byte digest&period;
| *c*
| MDC&hyphen;2 context to finalise (must have been initialised)&period;
|===


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