Set the callback that verifies DTLS HelloVerifyRequest cookies.
Declared in <openssl/ssl.h>
void
SSL_CTX_set_cookie_verify_cb(
SSL_CTX* ctx,
int(* app_verify_cookie_cb)(SSL*, unsigned char const*, unsigned int));
| Name | Description |
|---|---|
| ctx | DTLS SSL context that uses DTLSv1_listen. |
| app_verify_cookie_cb | Callback that returns nonzero if cookie is valid for ssl. |