From: Nikos Mavrogiannopoulos Date: Fri, 29 Sep 2017 10:54:38 +0000 (+0200) Subject: ext: do not advertize post handshake authentication X-Git-Tag: gnutls_3_6_3~351 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=98ffb853e3ed9244b82f6954fbb638da6799796f;p=thirdparty%2Fgnutls.git ext: do not advertize post handshake authentication Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/lib/ext/post_handshake.c b/lib/ext/post_handshake.c index 49f00f0b09..fa1e870fde 100644 --- a/lib/ext/post_handshake.c +++ b/lib/ext/post_handshake.c @@ -75,6 +75,10 @@ static int _gnutls_post_handshake_send_params(gnutls_session_t session, gnutls_buffer_st * extdata) { + /* we don't support post-handshake authentication yet */ + return 0; +#if 0 + gnutls_certificate_credentials_t cred; const version_entry_st *max; @@ -96,6 +100,7 @@ _gnutls_post_handshake_send_params(gnutls_session_t session, return GNUTLS_E_INT_RET_0; else return 0; +#endif } diff --git a/tests/tls13/post-handshake-with-cert.c b/tests/tls13/post-handshake-with-cert.c index 380a47cd29..8456e7441d 100644 --- a/tests/tls13/post-handshake-with-cert.c +++ b/tests/tls13/post-handshake-with-cert.c @@ -233,6 +233,9 @@ void doit(void) int ret; pid_t child; + /* re-enable when post-handshake authentication is available */ + exit(77); + signal(SIGCHLD, ch_handler); ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd);