BUF_strndup: tidy
authorEmilia Kasper <emilia@openssl.org>
Thu, 17 Sep 2015 11:27:05 +0000 (13:27 +0200)
committerEmilia Kasper <emilia@openssl.org>
Tue, 22 Sep 2015 18:09:42 +0000 (20:09 +0200)
commite56c77b8ee964b233137eea15b067eed1b1b44ea
tree6968187dfe0f85e4a0a7473a8007cc6820ee217f
parent69051874889696c2064b556ad4614d2f3644258a
BUF_strndup: tidy

Fix comment, add another overflow check, tidy style

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit de8883e11befde31d9b6cfbbd1fc017c365e0bbf)
(cherry picked from commit f5afe9ce3f7ab8d2fef460054d1170427db0d02c)
crypto/buffer/buf_str.c
crypto/buffer/buffer.h