summaryrefslogtreecommitdiffstats
path: root/ssl/s3_pkt.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-07-05 23:56:54 +0200
committerAndy Polyakov <appro@openssl.org>2014-07-05 23:56:54 +0200
commit0e7a32b55e8c5b1ec7c2bb755213d076390cc55e (patch)
treef524e4a07c38c248b51b9d22d4b582415d37974f /ssl/s3_pkt.c
parent375a64e3496c7576a7dbcfdf9a549bf2693506e8 (diff)
s3_pkt.c: fix typo.
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index dab2bd766f..8fc3bb4e0b 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -714,7 +714,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
int packlen;
/* minimize address aliasing conflicts */
- if ((max_send_fragment&0xffff) == 0)
+ if ((max_send_fragment&0xfff) == 0)
max_send_fragment -= 512;
if (tot==0 || wb->buf==NULL) /* allocate jumbo buffer */