gnutls_anti_replay_deinit - Linux


Overview

gnutls_anti_replay_deinit() de-initializes an anti-replay context and releases all associated memory. It must be called when the anti-replay context is no longer needed.

Syntax

void gnutls_anti_replay_deinit(gnutls_anti_replay_t anti)

Options/Flags

None.

Examples

gnutls_anti_replay_init(&ar_context);
gnutls_anti_replay_init(&ar_context_with_seqnum_threshold, 1000);

...
gnutls_anti_replay_deinit(ar_context);
gnutls_anti_replay_deinit(ar_context_with_seqnum_threshold);

Common Issues

None.

Integration

gnutls_anti_replay_deinit() can be used with other GnuTLS functions to manage anti-replay protection in TLS connections.

Related Commands

  • gnutls_anti_replay_init()
  • gnutls_anti_replay_in_range()
  • gnutls_anti_replay_add()