Stop unused variable warning on WIN32 et al.

This commit is contained in:
Dr. Stephen Henson 2009-08-18 11:14:12 +00:00
parent 250705e7b5
commit 209abea1db

View file

@ -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)