aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/s3_pkt.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-02-05 18:25:06 +0000
committerBen Laurie <ben@links.org>2014-02-05 18:25:47 +0000
commitf1f7598ce9ab2d0816d02ea7fa26bff1f3bb3707 (patch)
tree8dfda77810dc5fa0e258fa4966e599921f4adc15 /ssl/s3_pkt.c
parent9dabfce1a88ca00c0542502db51b60de8d8e3e79 (diff)
downloadopenssl-f1f7598ce9ab2d0816d02ea7fa26bff1f3bb3707.tar.gz
Fix warnings.
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 4c7dec0681..93778d15a3 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -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;