summaryrefslogtreecommitdiff
path: root/src/common.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 /src/common.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 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index cd7df27c2e..9ce146067e 100644
--- a/src/common.h
+++ b/src/common.h
@@ -30,7 +30,7 @@ GNUTLS_KXAlgorithm kx;
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
@@ -60,7 +60,7 @@ GNUTLS_KXAlgorithm kx;
*/
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 (cert_list_size > 0) {