[#SSL_get_finished]
= SSL&lowbar;get&lowbar;finished
:mrdocs:

Copy up to `count` bytes of the local Finished message into `buf&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
SSL&lowbar;get&lowbar;finished(
    xref:SSL.adoc[SSL] const* s,
    void* buf,
    size&lowbar;t count);
----

== Return Value

Actual Finished length in bytes (may exceed `count)&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection whose handshake Finished is queried&period;
| *buf*
| Destination buffer, or NULL to only query the Finished length&period;
| *count*
| Maximum number of bytes to copy into `buf&period;`
|===


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