summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-09-20 13:26:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-09-20 13:26:46 +0000
commit822da9ccc36e6e51790ef4a6af678392c1582041 (patch)
tree2c8b4fb36cacbaf3136a78ffc0eaabe0734a49f9 /apps
parent96e20179e4e7f2a06c74e4f890fae64fe3eb146b (diff)
Stop unused variable warning.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index cedd64c43c..f1232fd3dc 100644
--- 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)