Take BoringSSL 82aa28f: Make |BUF_memdup| look for zero length, not NULL.

This commit is contained in:
Brian Smith 2015-10-07 09:32:28 -10:00
commit 8489707da7

View File

@ -65,7 +65,7 @@
void *BUF_memdup(const void *data, size_t dst_size) {
void *ret;
if (data == NULL) {
if (dst_size == 0) {
return NULL;
}