Fix warnings.
[openssl.git] / ssl / s3_pkt.c
index 4c7dec06810464ea75653bfde76972e285566096..93778d15a3a65253fcb4c9842d8f416b50835ee7 100644 (file)
@@ -635,7 +635,11 @@ int ssl3_do_compress(SSL *ssl)
 int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
        {
        const unsigned char *buf=buf_;
-       unsigned int tot,n,nw,max_send_fragment;
+       int tot;
+       unsigned int n,nw;
+#if !defined(OPENSSL_NO_MULTIBLOCK) && EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK
+       unsigned int max_send_fragment;
+#endif
        SSL3_BUFFER *wb=&(s->s3->wbuf);
        int i;