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:04:01 +0000 (20:04 +0200)
commitf5afe9ce3f7ab8d2fef460054d1170427db0d02c
tree0ce553523ddf7b4f4cbad881e44b96181001462b
parentf61216ba9d17430fb5eb3e2b202a209960b9d51b
BUF_strndup: tidy

Fix comment, add another overflow check, tidy style

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