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 dab2bd7..8fc3bb4 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 */
-               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 */