summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-20 21:07:31 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-20 21:07:38 +0200
commit14cdffd508a834f0df1935732455c40432ad36b0 (patch)
tree59b85698dc8580cc93b86affe67d3f598882962d /src/common.c
parent48b9a6905e347e8d88ee724ccdfd57239d60da8f (diff)
downloadgnutls-14cdffd508a834f0df1935732455c40432ad36b0.tar.gz
client side ECC fixes.
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index ef537c36d3..3dfea1bb07 100644
--- a/src/common.c
+++ b/src/common.c
@@ -410,7 +410,8 @@ print_info (gnutls_session_t session, const char *hostname, int insecure)
{
#ifdef ENABLE_ANON
case GNUTLS_CRD_ANON:
- print_dh_info (session, "Anonymous ");
+ if (kx != GNUTLS_KX_ANON_ECDH)
+ print_dh_info (session, "Anonymous ");
break;
#endif
#ifdef ENABLE_SRP