* crypto/ui/ui_lib.c: misplaced brace in switch statement.
[openssl.git] / 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 */