gnutls_psk_set_server_credentials_hint3
Api function
Usage
#include <gnutls/gnutls.h>
int gnutls_psk_set_server_credentials_hint(gnutls_psk_server_credentials_t res, const char * hint);
Arguments
gnutls_psk_server_credentials_t res
|
is a |
|---|---|
const char * hint
|
is the PSK identity hint string |
Overview
This function sets the identity hint, in a gnutls_psk_server_credentials_t type. This hint is sent to the client to help it chose a good PSK credential (i.e., username and password).
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an error code is returned.
Since
2.4.0
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.