diff options
Diffstat (limited to 'lib/hello_ext.c')
-rw-r--r-- | lib/hello_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hello_ext.c b/lib/hello_ext.c index c4907aaced..5692a14d2d 100644 --- a/lib/hello_ext.c +++ b/lib/hello_ext.c @@ -442,7 +442,7 @@ _gnutls_gen_hello_extensions(gnutls_session_t session, session, ctx.ext->name, (int)ctx.ext->tls_id, ret-4); } - ret = _gnutls_extv_append_final(buf, pos); + ret = _gnutls_extv_append_final(buf, pos, !(msg & GNUTLS_EXT_FLAG_EE)); if (ret < 0) return gnutls_assert_val(ret); |