[#SSL_get_ex_data]
= SSL&lowbar;get&lowbar;ex&lowbar;data
:mrdocs:

Retrieve application&hyphen;specific data previously stored on an SSL object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
SSL&lowbar;get&lowbar;ex&lowbar;data(
    xref:SSL.adoc[SSL] const* ssl,
    int idx);
----

== Return Value

Pointer previously passed to SSL&lowbar;set&lowbar;ex&lowbar;data, or NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ssl*
| SSL connection to query&period;
| *idx*
| Index returned by SSL&lowbar;get&lowbar;ex&lowbar;new&lowbar;index &sol; CRYPTO&lowbar;get&lowbar;ex&lowbar;new&lowbar;index&period;
|===


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