diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/src/apps/app_rand.c | 6 | ||||
| -rw-r--r-- | src/lib/libssl/src/apps/apps.c | 31 | ||||
| -rw-r--r-- | src/lib/libssl/src/apps/s_client.c | 39 | ||||
| -rw-r--r-- | src/lib/libssl/src/apps/s_server.c | 20 | ||||
| -rw-r--r-- | src/lib/libssl/src/apps/s_socket.c | 82 | ||||
| -rw-r--r-- | src/lib/libssl/src/apps/s_time.c | 8 | ||||
| -rw-r--r-- | src/lib/libssl/src/apps/speed.c | 4 |
7 files changed, 2 insertions, 188 deletions
diff --git a/src/lib/libssl/src/apps/app_rand.c b/src/lib/libssl/src/apps/app_rand.c index b7b6128c1e..66e47c417c 100644 --- a/src/lib/libssl/src/apps/app_rand.c +++ b/src/lib/libssl/src/apps/app_rand.c | |||
| @@ -124,12 +124,6 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn) | |||
| 124 | int consider_randfile = (file == NULL); | 124 | int consider_randfile = (file == NULL); |
| 125 | char buffer[200]; | 125 | char buffer[200]; |
| 126 | 126 | ||
| 127 | #ifdef OPENSSL_SYS_WINDOWS | ||
| 128 | BIO_printf(bio_e,"Loading 'screen' into random state -"); | ||
| 129 | BIO_flush(bio_e); | ||
| 130 | RAND_screen(); | ||
| 131 | BIO_printf(bio_e," done\n"); | ||
| 132 | #endif | ||
| 133 | 127 | ||
| 134 | if (file == NULL) | 128 | if (file == NULL) |
| 135 | file = RAND_file_name(buffer, sizeof buffer); | 129 | file = RAND_file_name(buffer, sizeof buffer); |
diff --git a/src/lib/libssl/src/apps/apps.c b/src/lib/libssl/src/apps/apps.c index 5162c0179a..4d5e3f172a 100644 --- a/src/lib/libssl/src/apps/apps.c +++ b/src/lib/libssl/src/apps/apps.c | |||
| @@ -300,21 +300,12 @@ void program_name(char *in, char *out, int size) | |||
| 300 | p=in; | 300 | p=in; |
| 301 | n=strlen(p); | 301 | n=strlen(p); |
| 302 | 302 | ||
| 303 | #if defined(OPENSSL_SYS_NETWARE) | ||
| 304 | /* strip off trailing .nlm if present. */ | ||
| 305 | if ((n > 4) && (p[n-4] == '.') && | ||
| 306 | ((p[n-3] == 'n') || (p[n-3] == 'N')) && | ||
| 307 | ((p[n-2] == 'l') || (p[n-2] == 'L')) && | ||
| 308 | ((p[n-1] == 'm') || (p[n-1] == 'M'))) | ||
| 309 | n-=4; | ||
| 310 | #else | ||
| 311 | /* strip off trailing .exe if present. */ | 303 | /* strip off trailing .exe if present. */ |
| 312 | if ((n > 4) && (p[n-4] == '.') && | 304 | if ((n > 4) && (p[n-4] == '.') && |
| 313 | ((p[n-3] == 'e') || (p[n-3] == 'E')) && | 305 | ((p[n-3] == 'e') || (p[n-3] == 'E')) && |
| 314 | ((p[n-2] == 'x') || (p[n-2] == 'X')) && | 306 | ((p[n-2] == 'x') || (p[n-2] == 'X')) && |
| 315 | ((p[n-1] == 'e') || (p[n-1] == 'E'))) | 307 | ((p[n-1] == 'e') || (p[n-1] == 'E'))) |
| 316 | n-=4; | 308 | n-=4; |
| 317 | #endif | ||
| 318 | 309 | ||
| 319 | if (n > size-1) | 310 | if (n > size-1) |
| 320 | n=size-1; | 311 | n=size-1; |
| @@ -2791,28 +2782,6 @@ double app_tminterval(int stop,int usertime) | |||
| 2791 | return (ret); | 2782 | return (ret); |
| 2792 | } | 2783 | } |
| 2793 | 2784 | ||
| 2794 | #elif defined(OPENSSL_SYS_NETWARE) | ||
| 2795 | #include <time.h> | ||
| 2796 | |||
| 2797 | double app_tminterval(int stop,int usertime) | ||
| 2798 | { | ||
| 2799 | double ret=0; | ||
| 2800 | static clock_t tmstart; | ||
| 2801 | static int warning=1; | ||
| 2802 | |||
| 2803 | if (usertime && warning) | ||
| 2804 | { | ||
| 2805 | BIO_printf(bio_err,"To get meaningful results, run " | ||
| 2806 | "this program on idle system.\n"); | ||
| 2807 | warning=0; | ||
| 2808 | } | ||
| 2809 | |||
| 2810 | if (stop==TM_START) tmstart = clock(); | ||
| 2811 | else ret = (clock()-tmstart)/(double)CLOCKS_PER_SEC; | ||
| 2812 | |||
| 2813 | return (ret); | ||
| 2814 | } | ||
| 2815 | |||
| 2816 | #elif defined(OPENSSL_SYSTEM_VXWORKS) | 2785 | #elif defined(OPENSSL_SYSTEM_VXWORKS) |
| 2817 | #include <time.h> | 2786 | #include <time.h> |
| 2818 | 2787 | ||
diff --git a/src/lib/libssl/src/apps/s_client.c b/src/lib/libssl/src/apps/s_client.c index cb0a7688c8..6ca36de0ea 100644 --- a/src/lib/libssl/src/apps/s_client.c +++ b/src/lib/libssl/src/apps/s_client.c | |||
| @@ -166,9 +166,6 @@ | |||
| 166 | #include "s_apps.h" | 166 | #include "s_apps.h" |
| 167 | #include "timeouts.h" | 167 | #include "timeouts.h" |
| 168 | 168 | ||
| 169 | #if defined(OPENSSL_SYS_BEOS_R5) | ||
| 170 | #include <fcntl.h> | ||
| 171 | #endif | ||
| 172 | 169 | ||
| 173 | #undef PROG | 170 | #undef PROG |
| 174 | #define PROG s_client_main | 171 | #define PROG s_client_main |
| @@ -595,9 +592,6 @@ int MAIN(int argc, char **argv) | |||
| 595 | ENGINE *e=NULL; | 592 | ENGINE *e=NULL; |
| 596 | #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_BEOS_R5) | 593 | #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_BEOS_R5) |
| 597 | struct timeval tv; | 594 | struct timeval tv; |
| 598 | #if defined(OPENSSL_SYS_BEOS_R5) | ||
| 599 | int stdin_set = 0; | ||
| 600 | #endif | ||
| 601 | #endif | 595 | #endif |
| 602 | #ifndef OPENSSL_NO_TLSEXT | 596 | #ifndef OPENSSL_NO_TLSEXT |
| 603 | char *servername = NULL; | 597 | char *servername = NULL; |
| @@ -1610,35 +1604,6 @@ SSL_set_tlsext_status_ids(con, ids); | |||
| 1610 | } else i=select(width,(void *)&readfds,(void *)&writefds, | 1604 | } else i=select(width,(void *)&readfds,(void *)&writefds, |
| 1611 | NULL,timeoutp); | 1605 | NULL,timeoutp); |
| 1612 | } | 1606 | } |
| 1613 | #elif defined(OPENSSL_SYS_NETWARE) | ||
| 1614 | if(!write_tty) { | ||
| 1615 | if(read_tty) { | ||
| 1616 | tv.tv_sec = 1; | ||
| 1617 | tv.tv_usec = 0; | ||
| 1618 | i=select(width,(void *)&readfds,(void *)&writefds, | ||
| 1619 | NULL,&tv); | ||
| 1620 | } else i=select(width,(void *)&readfds,(void *)&writefds, | ||
| 1621 | NULL,timeoutp); | ||
| 1622 | } | ||
| 1623 | #elif defined(OPENSSL_SYS_BEOS_R5) | ||
| 1624 | /* Under BeOS-R5 the situation is similar to DOS */ | ||
| 1625 | i=0; | ||
| 1626 | stdin_set = 0; | ||
| 1627 | (void)fcntl(fileno(stdin), F_SETFL, O_NONBLOCK); | ||
| 1628 | if(!write_tty) { | ||
| 1629 | if(read_tty) { | ||
| 1630 | tv.tv_sec = 1; | ||
| 1631 | tv.tv_usec = 0; | ||
| 1632 | i=select(width,(void *)&readfds,(void *)&writefds, | ||
| 1633 | NULL,&tv); | ||
| 1634 | if (read(fileno(stdin), sbuf, 0) >= 0) | ||
| 1635 | stdin_set = 1; | ||
| 1636 | if (!i && (stdin_set != 1 || !read_tty)) | ||
| 1637 | continue; | ||
| 1638 | } else i=select(width,(void *)&readfds,(void *)&writefds, | ||
| 1639 | NULL,timeoutp); | ||
| 1640 | } | ||
| 1641 | (void)fcntl(fileno(stdin), F_SETFL, 0); | ||
| 1642 | #else | 1607 | #else |
| 1643 | i=select(width,(void *)&readfds,(void *)&writefds, | 1608 | i=select(width,(void *)&readfds,(void *)&writefds, |
| 1644 | NULL,timeoutp); | 1609 | NULL,timeoutp); |
| @@ -1812,10 +1777,6 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240 | |||
| 1812 | #else | 1777 | #else |
| 1813 | else if ((_kbhit()) || (WAIT_OBJECT_0 == WaitForSingleObject(GetStdHandle(STD_INPUT_HANDLE), 0))) | 1778 | else if ((_kbhit()) || (WAIT_OBJECT_0 == WaitForSingleObject(GetStdHandle(STD_INPUT_HANDLE), 0))) |
| 1814 | #endif | 1779 | #endif |
| 1815 | #elif defined (OPENSSL_SYS_NETWARE) | ||
| 1816 | else if (_kbhit()) | ||
| 1817 | #elif defined(OPENSSL_SYS_BEOS_R5) | ||
| 1818 | else if (stdin_set) | ||
| 1819 | #else | 1780 | #else |
| 1820 | else if (FD_ISSET(fileno(stdin),&readfds)) | 1781 | else if (FD_ISSET(fileno(stdin),&readfds)) |
| 1821 | #endif | 1782 | #endif |
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c index 4ad535b9ee..8d7568085a 100644 --- a/src/lib/libssl/src/apps/s_server.c +++ b/src/lib/libssl/src/apps/s_server.c | |||
| @@ -157,9 +157,7 @@ | |||
| 157 | #define APPS_WIN16 | 157 | #define APPS_WIN16 |
| 158 | #endif | 158 | #endif |
| 159 | 159 | ||
| 160 | #if !defined(OPENSSL_SYS_NETWARE) /* conflicts with winsock2 stuff on netware */ | ||
| 161 | #include <sys/types.h> | 160 | #include <sys/types.h> |
| 162 | #endif | ||
| 163 | 161 | ||
| 164 | #include <openssl/lhash.h> | 162 | #include <openssl/lhash.h> |
| 165 | #include <openssl/bn.h> | 163 | #include <openssl/bn.h> |
| @@ -183,9 +181,6 @@ | |||
| 183 | #include "s_apps.h" | 181 | #include "s_apps.h" |
| 184 | #include "timeouts.h" | 182 | #include "timeouts.h" |
| 185 | 183 | ||
| 186 | #if defined(OPENSSL_SYS_BEOS_R5) | ||
| 187 | #include <fcntl.h> | ||
| 188 | #endif | ||
| 189 | 184 | ||
| 190 | #ifndef OPENSSL_NO_RSA | 185 | #ifndef OPENSSL_NO_RSA |
| 191 | static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength); | 186 | static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength); |
| @@ -1947,17 +1942,6 @@ static int sv_body(char *hostname, int s, unsigned char *context) | |||
| 1947 | if((i < 0) || (!i && !_kbhit() ) )continue; | 1942 | if((i < 0) || (!i && !_kbhit() ) )continue; |
| 1948 | if(_kbhit()) | 1943 | if(_kbhit()) |
| 1949 | read_from_terminal = 1; | 1944 | read_from_terminal = 1; |
| 1950 | #elif defined(OPENSSL_SYS_BEOS_R5) | ||
| 1951 | /* Under BeOS-R5 the situation is similar to DOS */ | ||
| 1952 | tv.tv_sec = 1; | ||
| 1953 | tv.tv_usec = 0; | ||
| 1954 | (void)fcntl(fileno(stdin), F_SETFL, O_NONBLOCK); | ||
| 1955 | i=select(width,(void *)&readfds,NULL,NULL,&tv); | ||
| 1956 | if ((i < 0) || (!i && read(fileno(stdin), buf, 0) < 0)) | ||
| 1957 | continue; | ||
| 1958 | if (read(fileno(stdin), buf, 0) >= 0) | ||
| 1959 | read_from_terminal = 1; | ||
| 1960 | (void)fcntl(fileno(stdin), F_SETFL, 0); | ||
| 1961 | #else | 1945 | #else |
| 1962 | if ((SSL_version(con) == DTLS1_VERSION) && | 1946 | if ((SSL_version(con) == DTLS1_VERSION) && |
| 1963 | DTLSv1_get_timeout(con, &timeout)) | 1947 | DTLSv1_get_timeout(con, &timeout)) |
| @@ -2496,9 +2480,7 @@ static int www_body(char *hostname, int s, unsigned char *context) | |||
| 2496 | else | 2480 | else |
| 2497 | { | 2481 | { |
| 2498 | BIO_printf(bio_s_out,"read R BLOCK\n"); | 2482 | BIO_printf(bio_s_out,"read R BLOCK\n"); |
| 2499 | #if defined(OPENSSL_SYS_NETWARE) | 2483 | #if !defined(OPENSSL_SYS_MSDOS) && !defined(__DJGPP__) |
| 2500 | delay(1000); | ||
| 2501 | #elif !defined(OPENSSL_SYS_MSDOS) && !defined(__DJGPP__) | ||
| 2502 | sleep(1); | 2484 | sleep(1); |
| 2503 | #endif | 2485 | #endif |
| 2504 | continue; | 2486 | continue; |
diff --git a/src/lib/libssl/src/apps/s_socket.c b/src/lib/libssl/src/apps/s_socket.c index a301567668..73dcdfd0a3 100644 --- a/src/lib/libssl/src/apps/s_socket.c +++ b/src/lib/libssl/src/apps/s_socket.c | |||
| @@ -97,65 +97,14 @@ static int init_server(int *sock, int port, int type); | |||
| 97 | static int init_server_long(int *sock, int port,char *ip, int type); | 97 | static int init_server_long(int *sock, int port,char *ip, int type); |
| 98 | static int do_accept(int acc_sock, int *sock, char **host); | 98 | static int do_accept(int acc_sock, int *sock, char **host); |
| 99 | 99 | ||
| 100 | #ifdef OPENSSL_SYS_WIN16 | ||
| 101 | #define SOCKET_PROTOCOL 0 /* more microsoft stupidity */ | ||
| 102 | #else | ||
| 103 | #define SOCKET_PROTOCOL IPPROTO_TCP | 100 | #define SOCKET_PROTOCOL IPPROTO_TCP |
| 104 | #endif | ||
| 105 | 101 | ||
| 106 | #if defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) | 102 | #if defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) |
| 107 | static int wsa_init_done=0; | 103 | static int wsa_init_done=0; |
| 108 | #endif | 104 | #endif |
| 109 | 105 | ||
| 110 | #ifdef OPENSSL_SYS_WINDOWS | ||
| 111 | static struct WSAData wsa_state; | ||
| 112 | static int wsa_init_done=0; | ||
| 113 | 106 | ||
| 114 | #ifdef OPENSSL_SYS_WIN16 | 107 | #if defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) |
| 115 | static HWND topWnd=0; | ||
| 116 | static FARPROC lpTopWndProc=NULL; | ||
| 117 | static FARPROC lpTopHookProc=NULL; | ||
| 118 | extern HINSTANCE _hInstance; /* nice global CRT provides */ | ||
| 119 | |||
| 120 | static LONG FAR PASCAL topHookProc(HWND hwnd, UINT message, WPARAM wParam, | ||
| 121 | LPARAM lParam) | ||
| 122 | { | ||
| 123 | if (hwnd == topWnd) | ||
| 124 | { | ||
| 125 | switch(message) | ||
| 126 | { | ||
| 127 | case WM_DESTROY: | ||
| 128 | case WM_CLOSE: | ||
| 129 | SetWindowLong(topWnd,GWL_WNDPROC,(LONG)lpTopWndProc); | ||
| 130 | ssl_sock_cleanup(); | ||
| 131 | break; | ||
| 132 | } | ||
| 133 | } | ||
| 134 | return CallWindowProc(lpTopWndProc,hwnd,message,wParam,lParam); | ||
| 135 | } | ||
| 136 | |||
| 137 | static BOOL CALLBACK enumproc(HWND hwnd,LPARAM lParam) | ||
| 138 | { | ||
| 139 | topWnd=hwnd; | ||
| 140 | return(FALSE); | ||
| 141 | } | ||
| 142 | |||
| 143 | #endif /* OPENSSL_SYS_WIN32 */ | ||
| 144 | #endif /* OPENSSL_SYS_WINDOWS */ | ||
| 145 | |||
| 146 | #ifdef OPENSSL_SYS_WINDOWS | ||
| 147 | static void ssl_sock_cleanup(void) | ||
| 148 | { | ||
| 149 | if (wsa_init_done) | ||
| 150 | { | ||
| 151 | wsa_init_done=0; | ||
| 152 | #ifndef OPENSSL_SYS_WINCE | ||
| 153 | WSACancelBlockingCall(); | ||
| 154 | #endif | ||
| 155 | WSACleanup(); | ||
| 156 | } | ||
| 157 | } | ||
| 158 | #elif defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) | ||
| 159 | static void sock_cleanup(void) | 108 | static void sock_cleanup(void) |
| 160 | { | 109 | { |
| 161 | if (wsa_init_done) | 110 | if (wsa_init_done) |
| @@ -173,31 +122,6 @@ static int ssl_sock_init(void) | |||
| 173 | _watt_do_exit = 0; | 122 | _watt_do_exit = 0; |
| 174 | if (sock_init()) | 123 | if (sock_init()) |
| 175 | return (0); | 124 | return (0); |
| 176 | #elif defined(OPENSSL_SYS_WINDOWS) | ||
| 177 | if (!wsa_init_done) | ||
| 178 | { | ||
| 179 | int err; | ||
| 180 | |||
| 181 | #ifdef SIGINT | ||
| 182 | signal(SIGINT,(void (*)(int))ssl_sock_cleanup); | ||
| 183 | #endif | ||
| 184 | wsa_init_done=1; | ||
| 185 | memset(&wsa_state,0,sizeof(wsa_state)); | ||
| 186 | if (WSAStartup(0x0101,&wsa_state)!=0) | ||
| 187 | { | ||
| 188 | err=WSAGetLastError(); | ||
| 189 | BIO_printf(bio_err,"unable to start WINSOCK, error code=%d\n",err); | ||
| 190 | return(0); | ||
| 191 | } | ||
| 192 | |||
| 193 | #ifdef OPENSSL_SYS_WIN16 | ||
| 194 | EnumTaskWindows(GetCurrentTask(),enumproc,0L); | ||
| 195 | lpTopWndProc=(FARPROC)GetWindowLong(topWnd,GWL_WNDPROC); | ||
| 196 | lpTopHookProc=MakeProcInstance((FARPROC)topHookProc,_hInstance); | ||
| 197 | |||
| 198 | SetWindowLong(topWnd,GWL_WNDPROC,(LONG)lpTopHookProc); | ||
| 199 | #endif /* OPENSSL_SYS_WIN16 */ | ||
| 200 | } | ||
| 201 | #elif defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) | 125 | #elif defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) |
| 202 | WORD wVerReq; | 126 | WORD wVerReq; |
| 203 | WSADATA wsaData; | 127 | WSADATA wsaData; |
| @@ -348,9 +272,7 @@ static int init_server_long(int *sock, int port, char *ip, int type) | |||
| 348 | #endif | 272 | #endif |
| 349 | if (bind(s,(struct sockaddr *)&server,sizeof(server)) == -1) | 273 | if (bind(s,(struct sockaddr *)&server,sizeof(server)) == -1) |
| 350 | { | 274 | { |
| 351 | #ifndef OPENSSL_SYS_WINDOWS | ||
| 352 | perror("bind"); | 275 | perror("bind"); |
| 353 | #endif | ||
| 354 | goto err; | 276 | goto err; |
| 355 | } | 277 | } |
| 356 | /* Make it 128 for linux */ | 278 | /* Make it 128 for linux */ |
| @@ -381,9 +303,7 @@ static int do_accept(int acc_sock, int *sock, char **host) | |||
| 381 | 303 | ||
| 382 | if (!ssl_sock_init()) return(0); | 304 | if (!ssl_sock_init()) return(0); |
| 383 | 305 | ||
| 384 | #ifndef OPENSSL_SYS_WINDOWS | ||
| 385 | redoit: | 306 | redoit: |
| 386 | #endif | ||
| 387 | 307 | ||
| 388 | memset((char *)&from,0,sizeof(from)); | 308 | memset((char *)&from,0,sizeof(from)); |
| 389 | len=sizeof(from); | 309 | len=sizeof(from); |
diff --git a/src/lib/libssl/src/apps/s_time.c b/src/lib/libssl/src/apps/s_time.c index f9fcf7d374..1ec2a975c6 100644 --- a/src/lib/libssl/src/apps/s_time.c +++ b/src/lib/libssl/src/apps/s_time.c | |||
| @@ -81,9 +81,7 @@ | |||
| 81 | #include "winmain.h" | 81 | #include "winmain.h" |
| 82 | #include "wintext.h" | 82 | #include "wintext.h" |
| 83 | #endif | 83 | #endif |
| 84 | #if !defined(OPENSSL_SYS_MSDOS) | ||
| 85 | #include OPENSSL_UNISTD | 84 | #include OPENSSL_UNISTD |
| 86 | #endif | ||
| 87 | 85 | ||
| 88 | #undef PROG | 86 | #undef PROG |
| 89 | #define PROG s_time_main | 87 | #define PROG s_time_main |
| @@ -134,9 +132,6 @@ static int perform=0; | |||
| 134 | #ifdef FIONBIO | 132 | #ifdef FIONBIO |
| 135 | static int t_nbio=0; | 133 | static int t_nbio=0; |
| 136 | #endif | 134 | #endif |
| 137 | #ifdef OPENSSL_SYS_WIN32 | ||
| 138 | static int exitNow = 0; /* Set when it's time to exit main */ | ||
| 139 | #endif | ||
| 140 | 135 | ||
| 141 | static void s_time_init(void) | 136 | static void s_time_init(void) |
| 142 | { | 137 | { |
| @@ -158,9 +153,6 @@ static void s_time_init(void) | |||
| 158 | #ifdef FIONBIO | 153 | #ifdef FIONBIO |
| 159 | t_nbio=0; | 154 | t_nbio=0; |
| 160 | #endif | 155 | #endif |
| 161 | #ifdef OPENSSL_SYS_WIN32 | ||
| 162 | exitNow = 0; /* Set when it's time to exit main */ | ||
| 163 | #endif | ||
| 164 | } | 156 | } |
| 165 | 157 | ||
| 166 | /*********************************************************************** | 158 | /*********************************************************************** |
diff --git a/src/lib/libssl/src/apps/speed.c b/src/lib/libssl/src/apps/speed.c index 1b94d19f9d..7e60c08a00 100644 --- a/src/lib/libssl/src/apps/speed.c +++ b/src/lib/libssl/src/apps/speed.c | |||
| @@ -100,13 +100,9 @@ | |||
| 100 | #include <openssl/err.h> | 100 | #include <openssl/err.h> |
| 101 | #include <openssl/evp.h> | 101 | #include <openssl/evp.h> |
| 102 | #include <openssl/objects.h> | 102 | #include <openssl/objects.h> |
| 103 | #if !defined(OPENSSL_SYS_MSDOS) | ||
| 104 | #include OPENSSL_UNISTD | 103 | #include OPENSSL_UNISTD |
| 105 | #endif | ||
| 106 | 104 | ||
| 107 | #ifndef OPENSSL_SYS_NETWARE | ||
| 108 | #include <signal.h> | 105 | #include <signal.h> |
| 109 | #endif | ||
| 110 | 106 | ||
| 111 | #if defined(_WIN32) || defined(__CYGWIN__) | 107 | #if defined(_WIN32) || defined(__CYGWIN__) |
| 112 | #include <windows.h> | 108 | #include <windows.h> |
