[#SSL_client_hello_cb_fn]
= SSL&lowbar;client&lowbar;hello&lowbar;cb&lowbar;fn
:mrdocs:

Server callback invoked after a ClientHello is received and parsed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef int(* SSL&lowbar;client&lowbar;hello&lowbar;cb&lowbar;fn)(xref:SSL.adoc[SSL]*, int*, void*);
----

== Return Value

SSL&lowbar;CLIENT&lowbar;HELLO&lowbar;SUCCESS, SSL&lowbar;CLIENT&lowbar;HELLO&lowbar;ERROR, or SSL&lowbar;CLIENT&lowbar;HELLO&lowbar;RETRY&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Server SSL connection processing the ClientHello&period;
| *al*
| On failure, set to a TLS alert description to send&period;
| *arg*
| Application pointer from SSL&lowbar;CTX&lowbar;set&lowbar;client&lowbar;hello&lowbar;cb()&period;
|===


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