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 d00c5ce..48921ee 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 b56cd18..428c514 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);