From: Matt Caswell Date: Fri, 11 Mar 2016 21:05:02 +0000 (+0000) Subject: Remove some dead code from 1999 X-Git-Tag: OpenSSL_1_1_0-pre4~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3caf7603574184a2cf95134e679a2ff69d6ef05;p=oweals%2Fopenssl.git Remove some dead code from 1999 Reviewed-by: Richard Levitte --- 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);