Blame doc/functions/gnutls_srp_set_prime_bits

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {void} {gnutls_srp_set_prime_bits} (gnutls_session_t @var{session}, unsigned int @var{bits})
Packit aea12f
@var{session}: is a @code{gnutls_session_t}  type.
Packit aea12f
Packit aea12f
@var{bits}: is the number of bits
Packit aea12f
Packit aea12f
This function sets the minimum accepted number of bits, for use in
Packit aea12f
an SRP key exchange.  If zero, the default 2048 bits will be used.
Packit aea12f
Packit aea12f
In the client side it sets the minimum accepted number of bits.  If
Packit aea12f
a server sends a prime with less bits than that
Packit aea12f
@code{GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER}  will be returned by the
Packit aea12f
handshake.
Packit aea12f
Packit aea12f
This function has no effect in server side.
Packit aea12f
Packit aea12f
@strong{Since:} 2.6.0
Packit aea12f
@end deftypefun