[#SSL_CTX_set_post_handshake_auth]
= SSL&lowbar;CTX&lowbar;set&lowbar;post&lowbar;handshake&lowbar;auth
:mrdocs:

Enable or disable sending the TLSv1&period;3 Post&hyphen;Handshake Authentication ClientHello extension&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;CTX&lowbar;set&lowbar;post&lowbar;handshake&lowbar;auth(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    int val);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Client SSL context&semi; non&hyphen;zero `val` includes the extension so the server may request PHA&period;
| *val*
| Non&hyphen;zero to advertise post&hyphen;handshake authentication support&semi; 0 to omit the extension (default)&period;
|===


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