s3_pkt.c: fix typo.
authorAndy Polyakov <appro@openssl.org>
Sat, 5 Jul 2014 21:56:54 +0000 (23:56 +0200)
committerAndy Polyakov <appro@openssl.org>
Sat, 5 Jul 2014 21:57:28 +0000 (23:57 +0200)
(cherry picked from commit 0e7a32b55e8c5b1ec7c2bb755213d076390cc55e)

ssl/s3_pkt.c

index 23fed7077b7144690a337257cc927a4b3abfd97e..8ca64928cf36235e83e591d3c1f3a006a8c3be49 100644 (file)
@@ -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 */