diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-01-19 18:24:28 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-01-19 18:24:28 +0000 |
commit | 9dbf78a6f96d6d383a5f75a24b6d275e28bc80d9 (patch) | |
tree | aae91f128f19cffb1899dba84b8ce2dba21fe975 /lib/gnutls_dh.h | |
parent | 5fe0a8400c1989c8d8700567f49687603508d3e5 (diff) | |
download | gnutls-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.h | 4 |
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); |