From c3caf7603574184a2cf95134e679a2ff69d6ef05 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 11 Mar 2016 21:05:02 +0000 Subject: Remove some dead code from 1999 Reviewed-by: Richard Levitte --- crypto/bio/bss_fd.c | 6 ------ crypto/bio/bss_sock.c | 6 ------ 2 files changed, 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); -- cgit v1.2.3