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:56:54 +0000 (23:56 +0200)
ssl/s3_pkt.c

index dab2bd766fd997abe5698cfbc4622fe57feef0fe..8fc3bb4e0b742d310dee43a6c1a5e0802cc41e20 100644 (file)
@@ -714,7 +714,7 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
                int packlen;
 
                /* minimize address aliasing conflicts */
                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 */
                        max_send_fragment -= 512;
 
                if (tot==0 || wb->buf==NULL)    /* allocate jumbo buffer */