diff options
Diffstat (limited to 'lib/extensions.c')
-rw-r--r-- | lib/extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/extensions.c b/lib/extensions.c index b2a89b8f8a..3b20e02e29 100644 --- a/lib/extensions.c +++ b/lib/extensions.c @@ -244,6 +244,8 @@ _gnutls_parse_extensions(gnutls_session_t session, if (session->security_parameters.entity == GNUTLS_CLIENT) { if ((ret = _gnutls_extension_list_check(session, type)) < 0) { + _gnutls_debug_log("EXT[%p]: Received unexpected extension '%s/%d'\n", session, + gnutls_ext_get_name(type), (int)type); gnutls_assert(); return ret; } |