gnutls_digest_set_secure(3)

gnutls_digest_set_secure3

Api function

Usage

#include <gnutls/gnutls.h>

int gnutls_digest_set_secure(gnutls_digest_algorithm_t dig, unsigned int secure);

Arguments

gnutls_digest_algorithm_t dig

is a digest algorithm

unsigned int secure

whether to mark the digest algorithm secure

Overview

Modify the previous system wide setting that marked dig as secure or insecure. This only has effect when the algorithm is enabled through the allowlisting mode in the configuration file, or when the setting is modified with a prior call to this function.

Since

3.7.3

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.