summaryrefslogtreecommitdiffstats
path: root/ssl/bio_ssl.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-02-06 10:52:12 -0500
committerRich Salz <rsalz@openssl.org>2015-02-06 10:52:12 -0500
commit9e9858d1cf28e39cfd214b5c508188d5016728fd (patch)
tree60f08154ebe96d68e44af0bc309c283a4dc8666d /ssl/bio_ssl.c
parent5b18d3025c1c1d36be8f81f137265b46da58f881 (diff)
dead code cleanup: #if 0 in ssl
I left many "#if 0" lines, usually because I thought we would probably want to revisit them later, or because they provided some useful internal documentation tips. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'ssl/bio_ssl.c')
-rw-r--r--ssl/bio_ssl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c
index 458e071872..e2831af7f3 100644
--- a/ssl/bio_ssl.c
+++ b/ssl/bio_ssl.c
@@ -150,18 +150,6 @@ static int ssl_read(BIO *b, char *out, int outl)
BIO_clear_retry_flags(b);
-#if 0
- if (!SSL_is_init_finished(ssl)) {
-/* ret=SSL_do_handshake(ssl); */
- if (ret > 0) {
-
- outflags = (BIO_FLAGS_READ | BIO_FLAGS_SHOULD_RETRY);
- ret = -1;
- goto end;
- }
- }
-#endif
-/* if (ret > 0) */
ret = SSL_read(ssl, out, outl);
switch (SSL_get_error(ssl, ret)) {