summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-01 21:47:03 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-01 21:47:03 +0000
commit85088089b0982015ee1feccecb5fafdf8f717ebc (patch)
tree69de94d4d8e55f2eab89527aca047c0fe17da74c /lib/gnutls_dh.h
parent648adb7f12bea73c169088d00b1f3261e1ebff80 (diff)
downloadgnutls-85088089b0982015ee1feccecb5fafdf8f717ebc.tar.gz
Added the function gnutls_srp_server_set_credentials_function()
to allow retrieving SRP parameters from an external backend - other than password files.
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r--lib/gnutls_dh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h
index aff0144ace..5a455df188 100644
--- a/lib/gnutls_dh.h
+++ b/lib/gnutls_dh.h
@@ -24,6 +24,6 @@ MPI gnutls_calc_dh_key( MPI f, MPI x, MPI prime );
int _gnutls_dh_generate_prime(MPI *ret_g, MPI* ret_n, int bits);
void _gnutls_dh_clear_mpis(void);
int _gnutls_dh_calc_mpis(void);
-MPI _gnutls_get_rnd_srp_params( MPI * ret_p, int bits);
+int _gnutls_get_rnd_srp_params(gnutls_datum *g, gnutls_datum* p, int bits);
extern _gnutls_dh_params _gnutls_dh_default_params;