Remove some dead code from 1999
authorMatt Caswell <matt@openssl.org>
Fri, 11 Mar 2016 21:05:02 +0000 (21:05 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 11 Mar 2016 21:32:13 +0000 (21:32 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bio/bss_fd.c
crypto/bio/bss_sock.c

index d00c5ce3b457fbbf856b27a33f9d60a62f2857e2..48921eee995daf31f1cbf5c6097f4cc511df5db4 100644 (file)
@@ -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);
index b56cd18d93d3488add1558b62ae657032ccce203..428c514e31d216f52bc765dc9864fd2fced7d090 100644 (file)
@@ -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);