aboutsummaryrefslogtreecommitdiff
path: root/crypto/bio
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-11 21:05:02 +0000
committerMatt Caswell <matt@openssl.org>2016-03-11 21:32:13 +0000
commitc3caf7603574184a2cf95134e679a2ff69d6ef05 (patch)
treec3569d21db1d3bd70a893f011ecc3b736673004d /crypto/bio
parent81161070f8ec75ba83964e98ad70c4c4d015c276 (diff)
downloadopenssl-c3caf7603574184a2cf95134e679a2ff69d6ef05.zip
openssl-c3caf7603574184a2cf95134e679a2ff69d6ef05.tar.gz
openssl-c3caf7603574184a2cf95134e679a2ff69d6ef05.tar.bz2
Remove some dead code from 1999
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bss_fd.c6
-rw-r--r--crypto/bio/bss_sock.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c
index d00c5ce..48921ee 100644
--- a/crypto/bio/bss_fd.c
+++ b/crypto/bio/bss_fd.c
@@ -267,12 +267,6 @@ int BIO_fd_should_retry(int i)
if ((i == 0) || (i == -1)) {
err = get_last_sys_error();
-# if defined(OPENSSL_SYS_WINDOWS) && 0/* more microsoft stupidity? perhaps
- * not? Ben 4/1/99 */
- if ((i == -1) && (err == 0))
- return (1);
-# endif
-
return (BIO_fd_non_fatal_error(err));
}
return (0);
diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c
index b56cd18..428c514 100644
--- a/crypto/bio/bss_sock.c
+++ b/crypto/bio/bss_sock.c
@@ -214,12 +214,6 @@ int BIO_sock_should_retry(int i)
if ((i == 0) || (i == -1)) {
err = get_last_socket_error();
-# if defined(OPENSSL_SYS_WINDOWS) && 0/* more microsoft stupidity? perhaps
- * not? Ben 4/1/99 */
- if ((i == -1) && (err == 0))
- return (1);
-# endif
-
return (BIO_sock_non_fatal_error(err));
}
return (0);