summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-24 13:52:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-24 13:52:38 +0000
commit714044cc0369c9672a5908bd003d2f4958a1ac66 (patch)
treea5a44734e6b5d41259801e3d90176f6435a2fe03 /apps
parent5598b99fb324ab97e5ea196d5eacddaed0e054c6 (diff)
oops revert test code from previous commit
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index f44bf5e840..88b308ca38 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1836,20 +1836,6 @@ static int sv_body(char *hostname, int s, unsigned char *context)
continue;
/* strcpy(buf,"server side RE-NEGOTIATE\n"); */
}
- if ((buf[0] == 'X') &&
- ((buf[1] == '\n') || (buf[1] == '\r')))
- {
- SSL_renegotiate(con);
- i=SSL_do_handshake(con);
- printf("SSL_do_handshake1 -> %d\n",i);
- if (SSL_get_state(con) != SSL_ST_OK)
- printf("Bad State\n");
- con->state = SSL_ST_ACCEPT;
- i=SSL_do_handshake(con);
- printf("SSL_do_handshake2 -> %d\n",i);
- i=0; /*13; */
- continue;
- }
if ((buf[0] == 'R') &&
((buf[1] == '\n') || (buf[1] == '\r')))
{