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 /doc | |
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 'doc')
-rw-r--r-- | doc/tex/ex3.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tex/ex3.tex b/doc/tex/ex3.tex index 10f4c3bb70..761a532b7e 100644 --- a/doc/tex/ex3.tex +++ b/doc/tex/ex3.tex @@ -33,7 +33,7 @@ int print_info(GNUTLS_STATE state) switch (cred) { case GNUTLS_ANON: printf("- Anonymous DH using prime of %d bits\n", - gnutls_dh_get_dha_bits(state)); + gnutls_dh_get_bits(state)); break; case GNUTLS_X509PKI: /* in case of X509 PKI @@ -63,7 +63,7 @@ int print_info(GNUTLS_STATE state) */ if (kx == GNUTLS_KX_DHE_RSA || kx == GNUTLS_KX_DHE_DSS) { printf("\n- Ephemeral DH using prime of %d bits\n", - gnutls_dh_get_dhe_bits(state)); + gnutls_dh_get_bits(state)); } /* if the certificate list is available, then |