summaryrefslogtreecommitdiff
path: root/lib/session.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-11-27 13:47:46 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-11-27 13:47:49 +0100
commite9d6c60a60a492e7fd99447b0d3cfc209ee0a1a4 (patch)
treee4c6ba8e0dfea4c6aa3dcd03689045629453f240 /lib/session.c
parentf7143c4eb99ddbd5bf1b972244f24a0ff7ce22e3 (diff)
downloadgnutls-tmp-fix-cs-description.tar.gz
Fix session description info printingtmp-fix-cs-description
This fixes a truncation issue in session description information printing for certain ciphersuites, and adds a limited testing of expected description strings for certain ciphersuites. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/session.c')
-rw-r--r--lib/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/session.c b/lib/session.c
index 5d862198b5..a7ac943153 100644
--- a/lib/session.c
+++ b/lib/session.c
@@ -317,7 +317,7 @@ void gnutls_session_force_valid(gnutls_session_t session)
session->internals.invalid_connection = 0;
}
-#define DESC_SIZE 64
+#define DESC_SIZE 96
/**
* gnutls_session_get_desc: