Split up the logic in CBB_flush to separately handle the lengths.
authordoug <doug@openbsd.org>
Sat, 13 Jun 2015 09:24:12 +0000 (09:24 +0000)
committerdoug <doug@openbsd.org>
Sat, 13 Jun 2015 09:24:12 +0000 (09:24 +0000)
commit6ea8e45c2f197017a689d593367cf845c8de3cfb
tree9af2393e6d0b848f34837039106156a1f7c3ef75
parentdebb3ac7990a238760b31d00ed6efe332441d68f
Split up the logic in CBB_flush to separately handle the lengths.

Also, add comments about assuming short-form.

ok miod@, tweak + ok jsing@
lib/libssl/bs_cbb.c
lib/libssl/src/ssl/bs_cbb.c