]> git.ipfire.org Git - thirdparty/gnutls.git/commit
Restructure gnutls_session_channel_binding and add tls-exporter
authorRuslan N. Marchenko <me@ruff.mobi>
Sat, 1 May 2021 08:16:37 +0000 (10:16 +0200)
committerRuslan N. Marchenko <me@ruff.mobi>
Mon, 3 May 2021 09:38:36 +0000 (11:38 +0200)
commit8ff4eaf19875d1088e8e24f1810fa99083cdee16
treed43b8dc9464a2ea9ad2cc9a531eb1bb74a93a224
parent480a3ed6e2fa1201fd54448c6fcb05ed2e4372f2
Restructure gnutls_session_channel_binding and add tls-exporter

 The restructure removes explicit pre-check for supported binding
 type(s) and instead relies now on catch-all return which returns
 UNIMPLEMENTED_FEATURE if no type was handled. In addition to that
 it returns UNIMPLEMENTED_FEATURE for tls-unique request on TLSv1.3
 session, since that is not supposed to work hence requires explicit
 error. Finally new binding type tls-exporter implementation is
 added.

Signed-off-by: Ruslan N. Marchenko <me@ruff.mobi>
lib/state.c