oops, revert more test code arghh!
authorDr. Stephen Henson <steve@openssl.org>
Thu, 28 Jan 2010 17:52:18 +0000 (17:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 28 Jan 2010 17:52:18 +0000 (17:52 +0000)
apps/s_server.c

index 85d060a410b49496d8645e684856b08e17f8b338..1a06d19bb14be9ddf1af9d777012317d149dd06b 100644 (file)
@@ -2391,17 +2391,6 @@ static int www_body(char *hostname, int s, unsigned char *context)
                        STACK_OF(SSL_CIPHER) *sk;
                        static const char *space="                          ";
 
-               if (www == 1 && strncmp("GET /reneg", buf, 10) == 0)
-                       {
-                       if (strncmp("GET /renegcert", buf, 14) == 0)
-                               SSL_set_verify(con,
-                               SSL_VERIFY_PEER|SSL_VERIFY_CLIENT_ONCE,NULL);
-                       SSL_renegotiate(con);
-                       i=SSL_do_handshake(con);
-                       BIO_puts(bio_s_out, "RENEGOTIATING\n");
-                       BIO_printf(bio_s_out, "SSL_do_handshake -> %d\n",i);
-                       }
-
                        BIO_puts(io,"HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n");
                        BIO_puts(io,"<HTML><BODY BGCOLOR=\"#ffffff\">\n");
                        BIO_puts(io,"<pre>\n");