Fix warnings.
authorBen Laurie <ben@links.org>
Wed, 5 Feb 2014 18:25:06 +0000 (18:25 +0000)
committerBen Laurie <ben@links.org>
Wed, 5 Feb 2014 18:25:47 +0000 (18:25 +0000)
ssl/s3_pkt.c

index 4c7dec0..93778d1 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_;
 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;
 
        SSL3_BUFFER *wb=&(s->s3->wbuf);
        int i;