]> git.ipfire.org Git - thirdparty/gnutls.git/commit
key share: added flags to gnutls_init() to modify its default behavior
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 6 Oct 2017 07:05:20 +0000 (09:05 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:35 +0000 (15:29 +0100)
commitcc8a6733f254f81a91f03aa836dfd91a22f4fc3a
tree270ec63e282d96bf79b82f44e7495296f74d1d04
parent5931542314efea4d0c4642bf117810b5fa6f22d0
key share: added flags to gnutls_init() to modify its default behavior

That way the application can adjust the range of keys generated
during client hello attempting to guess the server's algorithm.

Applications are intentionally not given the option to select the
algorithm in the key share, but rather chose from the prioritized
list of groups, to avoid a disconnect between the prioritized
groups, and the key share sent.

Relates #284

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/ext/key_share.c
lib/includes/gnutls/gnutls.h.in