]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
ext: do not advertize post handshake authentication
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 29 Sep 2017 10:54:38 +0000 (12:54 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:35 +0000 (15:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/ext/post_handshake.c
tests/tls13/post-handshake-with-cert.c

index 49f00f0b09ac53919af1939101d0b999efb1b866..fa1e870fde6036173d3da1fc8f8ea94a557eea4d 100644 (file)
@@ -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
 }
 
 
index 380a47cd299cf1e1581d8aaa5446d2f43b6bc455..8456e7441d5900db2172ad10250396c9bbdb420e 100644 (file)
@@ -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);