diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-11 21:05:02 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-11 21:32:13 +0000 |
commit | c3caf7603574184a2cf95134e679a2ff69d6ef05 (patch) | |
tree | c3569d21db1d3bd70a893f011ecc3b736673004d /crypto/bio | |
parent | 81161070f8ec75ba83964e98ad70c4c4d015c276 (diff) | |
download | openssl-c3caf7603574184a2cf95134e679a2ff69d6ef05.tar.gz |
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.c | 6 | ||||
-rw-r--r-- | crypto/bio/bss_sock.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c index d00c5ce3b4..48921eee99 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 b56cd18d93..428c514e31 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); |