summaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-21 09:42:11 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-01-21 09:42:11 +0100
commita8a617cdc53c7bac96cd781d8d8f33a89bbb7cc8 (patch)
tree6271b8ac5ca3ce9ebb12e816474ab639283d75ab /src/cli.c
parent81b417e6ccdd9cc26b69b1d8855ae7bf440eebd9 (diff)
downloadgnutls-a8a617cdc53c7bac96cd781d8d8f33a89bbb7cc8.tar.gz
Removed rehandshake initiation capability from client and transferred it
to the echo server. Once the server receives a string **REHANDSHAKE** will request a rehandshake.
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cli.c b/src/cli.c
index 4e5bebe9d6..2aa2da4197 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -826,17 +826,6 @@ after_handshake:
continue;
}
- if (strstr(buffer, "**REHANDSHAKE**") != NULL) {
- fprintf (stderr, "*** Starting TLS rehandshake\n");
- ret = do_handshake (&hd);
- if (ret < 0)
- {
- fprintf (stderr, "*** Rehandshake has failed\n");
- user_term = 1;
- retval = 1;
- break;
- }
- }
if (crlf != 0)
{
char *b = strchr (buffer, '\n');