diff options
Diffstat (limited to 'lib/priority.c')
-rw-r--r-- | lib/priority.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/priority.c b/lib/priority.c index 1ed5d84927..746eae05a4 100644 --- a/lib/priority.c +++ b/lib/priority.c @@ -627,6 +627,7 @@ gnutls_priority_set(gnutls_session_t session, gnutls_priority_t priority) #undef COPY_TO_INTERNALS #define COPY_TO_INTERNALS(xx) session->internals.xx = priority->_##xx COPY_TO_INTERNALS(allow_large_records); + COPY_TO_INTERNALS(allow_small_records); COPY_TO_INTERNALS(no_etm); COPY_TO_INTERNALS(no_ext_master_secret); COPY_TO_INTERNALS(allow_key_usage_violation); @@ -816,6 +817,10 @@ static void enable_server_key_usage_violations(gnutls_priority_t c) { c->allow_server_key_usage_violation = 1; } +static void enable_allow_small_records(gnutls_priority_t c) +{ + c->_allow_small_records = 1; +} static void enable_dumbfw(gnutls_priority_t c) { c->_dumbfw = 1; |