diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-29 12:54:38 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-10-13 14:22:31 +0200 |
commit | 90a81a94da76bdfb33f9ba19ee68a1cc803421a2 (patch) | |
tree | dee55a7c239286ff967c3d8775fb35efd9a978f4 | |
parent | 1e21e5b88f742db63c7c4c55b639eae2f0ef3c92 (diff) | |
download | gnutls-90a81a94da76bdfb33f9ba19ee68a1cc803421a2.tar.gz |
ext: do not advertize post handshake authentication
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/ext/post_handshake.c | 5 | ||||
-rw-r--r-- | tests/tls13/post-handshake-with-cert.c | 3 |
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); |