From: Andy Polyakov Date: Sat, 5 Jul 2014 21:56:54 +0000 (+0200) Subject: s3_pkt.c: fix typo. X-Git-Tag: OpenSSL_1_0_2-beta2~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0359ccfd8be0de409d5a10efc334eb7ba7d766fa;p=oweals%2Fopenssl.git s3_pkt.c: fix typo. (cherry picked from commit 0e7a32b55e8c5b1ec7c2bb755213d076390cc55e) --- diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 23fed7077b..8ca64928cf 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -668,7 +668,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 */