summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-02-28 15:55:35 +0100
committerMatt Caswell <matt@openssl.org>2017-02-28 17:02:11 +0100
commit7f517c2676103db8123aaad5c722125d936f807c (patch)
treed326cecefbe6b0d38ef5784ecc241b786e8870ee /crypto/bio
parentRemove some commented out code in the apps (diff)
downloadopenssl-7f517c2676103db8123aaad5c722125d936f807c.tar.xz
openssl-7f517c2676103db8123aaad5c722125d936f807c.zip
Remove some commented out code in libcrypto
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2774)
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bss_acpt.c6
-rw-r--r--crypto/bio/bss_dgram.c1
-rw-r--r--crypto/bio/bss_fd.c1
-rw-r--r--crypto/bio/bss_sock.c1
4 files changed, 0 insertions, 9 deletions
diff --git a/crypto/bio/bss_acpt.c b/crypto/bio/bss_acpt.c
index e490fcdf73..dda637db7f 100644
--- a/crypto/bio/bss_acpt.c
+++ b/crypto/bio/bss_acpt.c
@@ -521,12 +521,6 @@ static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr)
ret = (long)data->bind_mode;
break;
case BIO_CTRL_DUP:
-/*- dbio=(BIO *)ptr;
- if (data->param_port) EAY EAY
- BIO_set_port(dbio,data->param_port);
- if (data->param_hostname)
- BIO_set_hostname(dbio,data->param_hostname);
- BIO_set_nbio(dbio,data->nbio); */
break;
default:
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c
index b14d03666a..d43e8dc471 100644
--- a/crypto/bio/bss_dgram.c
+++ b/crypto/bio/bss_dgram.c
@@ -1911,7 +1911,6 @@ int BIO_dgram_non_fatal_error(int err)
# endif
return (1);
- /* break; */
default:
break;
}
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c
index 0f003cd89b..a02c65d128 100644
--- a/crypto/bio/bss_fd.c
+++ b/crypto/bio/bss_fd.c
@@ -268,7 +268,6 @@ int BIO_fd_non_fatal_error(int err)
case EALREADY:
# endif
return (1);
- /* break; */
default:
break;
}
diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c
index c47b160bb0..744b768d12 100644
--- a/crypto/bio/bss_sock.c
+++ b/crypto/bio/bss_sock.c
@@ -225,7 +225,6 @@ int BIO_sock_non_fatal_error(int err)
case EALREADY:
# endif
return (1);
- /* break; */
default:
break;
}