Stop unused variable warning.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 20 Sep 2009 13:26:46 +0000 (13:26 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 20 Sep 2009 13:26:46 +0000 (13:26 +0000)
apps/s_server.c

index cedd64c43c0633abbad0e806be04e36f2e4a1555..f1232fd3dce75d34639463508faa2e12d4ed60f0 100644 (file)
@@ -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)