diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-02-18 14:29:20 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-02-18 14:29:44 +0100 |
commit | 611121584119434214e8208289375ff9cf5397af (patch) | |
tree | 7fbc53cbe716327fdd9f976e4d9b6066359044ff /lib/ext | |
parent | 95537f79ba010a1b84e4f8eceee7a7b51a26f85a (diff) | |
download | gnutls-611121584119434214e8208289375ff9cf5397af.tar.gz |
ext master secret: ensure we disable ext master secret if requested
That is, on rehandshakes, as on the standard handshakes it is disabled
by default.
Diffstat (limited to 'lib/ext')
-rw-r--r-- | lib/ext/ext_master_secret.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ext/ext_master_secret.c b/lib/ext/ext_master_secret.c index f7e76b04dd..82da0ab0ba 100644 --- a/lib/ext/ext_master_secret.c +++ b/lib/ext/ext_master_secret.c @@ -90,6 +90,7 @@ _gnutls_ext_master_secret_send_params(gnutls_session_t session, { if (session->internals.try_ext_master_secret == 0 || session->internals.priorities.no_ext_master_secret != 0) { + session->security_parameters.ext_master_secret = 0; return 0; } |