projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c08a6
)
Stop unused variable warning on WIN32 et al.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 18 Aug 2009 11:15:33 +0000
(11:15 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 18 Aug 2009 11:15:33 +0000
(11:15 +0000)
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index 9ccf2f0a44193045c5e9c648a79f56d952757bbc..a5b1e9147179f4371986ebad08dae8a65a0b788f 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-1750,9
+1750,11
@@
static int sv_body(char *hostname, int s, unsigned char *context)
unsigned long l;
SSL *con=NULL;
BIO *sbio;
- struct timeval timeout
, *timeoutp
;
+ struct timeval timeout;
#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_BEOS_R5)
struct timeval tv;
+#else
+ struct timeval *timeoutp;
#endif
if ((buf=OPENSSL_malloc(bufsize)) == NULL)