summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-01-19 18:24:28 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-01-19 18:24:28 +0000
commit9dbf78a6f96d6d383a5f75a24b6d275e28bc80d9 (patch)
treeaae91f128f19cffb1899dba84b8ce2dba21fe975 /lib/gnutls_dh.h
parent5fe0a8400c1989c8d8700567f49687603508d3e5 (diff)
downloadgnutls-9dbf78a6f96d6d383a5f75a24b6d275e28bc80d9.tar.gz
Combined gnutls_x509pki_(set/get)_dh_bits() and
gnutls_anon_server/client_get to gnutls_dh_(set/get)_bits(). gnutls_anon_set_server_cred() was deprecated by gnutls_dh_set_bits().
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r--lib/gnutls_dh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h
index 50a3d5dc2a..6b871743a4 100644
--- a/lib/gnutls_dh.h
+++ b/lib/gnutls_dh.h
@@ -25,5 +25,5 @@ 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);
-
-#define DEFAULT_BITS 1024
+int _gnutls_dh_get_bits( GNUTLS_STATE);
+void gnutls_dh_set_bits( GNUTLS_STATE state, int bits);