diff options
Diffstat (limited to 'apps/openssl')
-rw-r--r-- | apps/openssl/Makefile.am | 5 | ||||
-rw-r--r-- | apps/openssl/compat/poll_win.c | 6 |
2 files changed, 3 insertions, 8 deletions
diff --git a/apps/openssl/Makefile.am b/apps/openssl/Makefile.am index 810408d..ee1b65b 100644 --- a/apps/openssl/Makefile.am +++ b/apps/openssl/Makefile.am | |||
@@ -88,11 +88,6 @@ endif | |||
88 | endif | 88 | endif |
89 | 89 | ||
90 | noinst_HEADERS = apps.h | 90 | noinst_HEADERS = apps.h |
91 | noinst_HEADERS += progs.h | ||
92 | noinst_HEADERS += s_apps.h | ||
93 | noinst_HEADERS += testdsa.h | ||
94 | noinst_HEADERS += testrsa.h | ||
95 | noinst_HEADERS += timeouts.h | ||
96 | 91 | ||
97 | EXTRA_DIST = CMakeLists.txt | 92 | EXTRA_DIST = CMakeLists.txt |
98 | 93 | ||
diff --git a/apps/openssl/compat/poll_win.c b/apps/openssl/compat/poll_win.c index c9422b9..30f6b60 100644 --- a/apps/openssl/compat/poll_win.c +++ b/apps/openssl/compat/poll_win.c | |||
@@ -248,12 +248,12 @@ poll(struct pollfd *pfds, nfds_t nfds, int timeout_ms) | |||
248 | timespent_ms = 0; | 248 | timespent_ms = 0; |
249 | wait_rc = WAIT_FAILED; | 249 | wait_rc = WAIT_FAILED; |
250 | 250 | ||
251 | if (timeout_ms < 0) | 251 | looptime_ms = (timeout_ms > 100 || timeout_ms == -1) ? 100 : timeout_ms; |
252 | if (timeout_ms == -1) | ||
252 | timeout_ms = INFINITE; | 253 | timeout_ms = INFINITE; |
253 | looptime_ms = timeout_ms > 100 ? 100 : timeout_ms; | ||
254 | 254 | ||
255 | do { | 255 | do { |
256 | struct timeval tv; | 256 | TIMEVAL tv; |
257 | tv.tv_sec = 0; | 257 | tv.tv_sec = 0; |
258 | tv.tv_usec = looptime_ms * 1000; | 258 | tv.tv_usec = looptime_ms * 1000; |
259 | int handle_signaled = 0; | 259 | int handle_signaled = 0; |