gnutls_anti_replay_init3
Api function
Usage
#include <gnutls/gnutls.h>
int gnutls_anti_replay_init(gnutls_anti_replay_t * anti_replay);
Arguments
- gnutls_anti_replay_t * anti_replay
-
is a pointer to
gnutls_anti_replay_ttype
Overview
This function will allocate and initialize the anti_replay context to be usable for detect replay attacks. The context can then be attached to a gnutls_session_t with gnutls_anti_replay_enable().
Returns
Zero or a negative error code on error.
Since
3.6.5
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.