diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-01-21 09:42:11 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-01-21 09:42:11 +0100 |
commit | a8a617cdc53c7bac96cd781d8d8f33a89bbb7cc8 (patch) | |
tree | 6271b8ac5ca3ce9ebb12e816474ab639283d75ab /src/cli.c | |
parent | 81b417e6ccdd9cc26b69b1d8855ae7bf440eebd9 (diff) | |
download | gnutls-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.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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'); |