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:
96e2017
)
Stop unused variable warning.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 20 Sep 2009 13:26:46 +0000
(13:26 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 20 Sep 2009 13:26:46 +0000
(13:26 +0000)
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index cedd64c43c0633abbad0e806be04e36f2e4a1555..f1232fd3dce75d34639463508faa2e12d4ed60f0 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-1594,9
+1594,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)
struct timeval tv;
+#else
+ struct timeval *timeoutp;
#endif
if ((buf=OPENSSL_malloc(bufsize)) == NULL)