Blame doc/functions/gnutls_srp_set_server_credentials_file

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_srp_set_server_credentials_file} (gnutls_srp_server_credentials_t @var{res}, const char * @var{password_file}, const char * @var{password_conf_file})
Packit aea12f
@var{res}: is a @code{gnutls_srp_server_credentials_t}  type.
Packit aea12f
Packit aea12f
@var{password_file}: is the SRP password file (tpasswd)
Packit aea12f
Packit aea12f
@var{password_conf_file}: is the SRP password conf file (tpasswd.conf)
Packit aea12f
Packit aea12f
This function sets the password files, in a
Packit aea12f
@code{gnutls_srp_server_credentials_t}  type.  Those password files
Packit aea12f
hold usernames and verifiers and will be used for SRP
Packit aea12f
authentication.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, or an
Packit aea12f
error code.
Packit aea12f
@end deftypefun