提交 ba4526e0 编写于 作者: D Dr. Stephen Henson

Stop unused variable warning on WIN32 et al.

上级 98c08a63
...@@ -1750,9 +1750,11 @@ static int sv_body(char *hostname, int s, unsigned char *context) ...@@ -1750,9 +1750,11 @@ static int sv_body(char *hostname, int s, unsigned char *context)
unsigned long l; unsigned long l;
SSL *con=NULL; SSL *con=NULL;
BIO *sbio; 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) #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_BEOS_R5)
struct timeval tv; struct timeval tv;
#else
struct timeval *timeoutp;
#endif #endif
if ((buf=OPENSSL_malloc(bufsize)) == NULL) if ((buf=OPENSSL_malloc(bufsize)) == NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册