[#SSL_CTX_use_psk_identity_hint]
= SSL&lowbar;CTX&lowbar;use&lowbar;psk&lowbar;identity&lowbar;hint
:mrdocs:

Set the PSK identity hint advertised by a TLS server context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CTX&lowbar;use&lowbar;psk&lowbar;identity&lowbar;hint(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    char const* identity&lowbar;hint);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Server SSL context that stores the hint for PSK handshakes&period;
| *identity&lowbar;hint*
| NUL&hyphen;terminated hint string sent to clients, or NULL to clear&period;
|===


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