gnutls_protocol_set_priority3
Api function
Usage
#include <gnutls/compat.h>
int gnutls_protocol_set_priority(gnutls_session_t session, const int * list);
Arguments
gnutls_session_t session
|
is a |
|---|---|
const int * list
|
is a 0 terminated list of gnutls_protocol_t elements. |
Overview
Sets the priority on the protocol versions supported by gnutls. This function actually enables or disables protocols. Newer protocol versions always have highest priority.
Returns
GNUTLS_E_SUCCESS on success, or an error code.
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.