diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-11-03 14:23:48 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-11-03 17:09:01 +0100 |
commit | e93cef18471962b001dac0f792cb569f1a4cde58 (patch) | |
tree | a8e33fc6c302a7126fc177d1f4a8f0e16fabf52b /lib/gnutls_priority.c | |
parent | e29d027872fb61a6e7117d3b920626bbc638ac64 (diff) | |
download | gnutls-e93cef18471962b001dac0f792cb569f1a4cde58.tar.gz |
Added support for RFC7366 (encrypt then authenticate)
It implements a revised version of RFC7366, to avoid interoperability
issues: http://www.ietf.org/mail-archive/web/tls/current/msg14349.html
This is currently enabled by default, unless %NO_ETM, or %COMPAT
is specified.
Diffstat (limited to 'lib/gnutls_priority.c')
-rw-r--r-- | lib/gnutls_priority.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c index 1321541369..82abea6e31 100644 --- a/lib/gnutls_priority.c +++ b/lib/gnutls_priority.c @@ -837,6 +837,10 @@ static void enable_no_extensions(gnutls_priority_t c) { c->no_extensions = 1; } +static void enable_no_etm(gnutls_priority_t c) +{ + c->no_etm = 1; +} static void enable_no_tickets(gnutls_priority_t c) { c->no_tickets = 1; |