Rename cbb_buffer_add_u to cbb_add_u and remove redundant code.
authordoug <doug@openbsd.org>
Wed, 29 Apr 2015 01:49:28 +0000 (01:49 +0000)
committerdoug <doug@openbsd.org>
Wed, 29 Apr 2015 01:49:28 +0000 (01:49 +0000)
commitf49f13178533b67237acfe81b3594ca4906e8c1e
tree80e8d18e30cef0535044445b174a39c333a7859f
parentc2c0b1519184b9c58299f480da06dff68067eb9d
Rename cbb_buffer_add_u to cbb_add_u and remove redundant code.

All of cbb_buffer_add_u's callers first call CBB_flush and send cbb->base.
cbb_add_u() now has that common code in one place.

ok jsing@
lib/libssl/bs_cbb.c
lib/libssl/src/ssl/bs_cbb.c