With recallocarray() BUF_MEM_grow() is essentially the same as
authorjsing <jsing@openbsd.org>
Sun, 9 Apr 2017 15:03:54 +0000 (15:03 +0000)
committerjsing <jsing@openbsd.org>
Sun, 9 Apr 2017 15:03:54 +0000 (15:03 +0000)
commit027ccf5329c0a626d5f824374ef6ff2fa3f4b437
tree4f6d184940ed48d389c995a87b747ffcf1aae704
parentd8c9e8aee4ce1268b576997166af7d9a816a2f87
With recallocarray() BUF_MEM_grow() is essentially the same as
BUF_MEM_grow_clean() (the only difference is clearing on internal down
sizing), so make it a wrapper.

ok beck@ deraadt@
lib/libcrypto/buffer/buffer.c