[#SSL_CTX_set_cookie_verify_cb]
= SSL&lowbar;CTX&lowbar;set&lowbar;cookie&lowbar;verify&lowbar;cb
:mrdocs:

Set the callback that verifies DTLS HelloVerifyRequest cookies&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;cookie&lowbar;verify&lowbar;cb(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    int(* app&lowbar;verify&lowbar;cookie&lowbar;cb)(xref:SSL.adoc[SSL]*, unsigned char const*, unsigned int));
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| DTLS SSL context that uses DTLSv1&lowbar;listen&period;
| *app&lowbar;verify&lowbar;cookie&lowbar;cb*
| Callback that returns nonzero if `cookie` is valid for `ssl&period;`
|===


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