summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-29 12:54:38 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-11-14 15:00:32 +0100
commit105b2c3d92fb23102ce2354a71133d486bd8c12f (patch)
tree434e896e877ca2ded9864dda434e13fa13898d1c
parent391686a74ddae7bec95db7f30e28a57614a42a7a (diff)
downloadgnutls-105b2c3d92fb23102ce2354a71133d486bd8c12f.tar.gz
ext: do not advertize post handshake authentication
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/ext/post_handshake.c5
-rw-r--r--tests/tls13/post-handshake-with-cert.c3
2 files changed, 8 insertions, 0 deletions
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);