summaryrefslogtreecommitdiffstats
path: root/apps/s_client.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-02-06 10:54:20 -0500
committerRich Salz <rsalz@openssl.org>2015-02-06 10:54:20 -0500
commit6f91b017bbb7140f816721141ac156d1b828a6b3 (patch)
treee77196a270e92d461ab7193f0fdcf60d337918c7 /apps/s_client.c
parent9e9858d1cf28e39cfd214b5c508188d5016728fd (diff)
Live code cleanup: remove #if 1 stuff
For code bracketed by "#if 1" then remove the alternate "#else .. #endif" lines. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'apps/s_client.c')
-rw-r--r--apps/s_client.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 325dbf11b3..1607c6e438 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -1872,17 +1872,7 @@ int MAIN(int argc, char **argv)
}
}
#endif
-#if 1
k = SSL_read(con, sbuf, 1024 /* BUFSIZZ */ );
-#else
-/* Demo for pending and peek :-) */
- k = SSL_read(con, sbuf, 16);
- {
- char zbuf[10240];
- printf("read=%d pending=%d peek=%d\n", k, SSL_pending(con),
- SSL_peek(con, zbuf, 10240));
- }
-#endif
switch (SSL_get_error(con, k)) {
case SSL_ERROR_NONE: