realloc of NULL is like malloc
authorRich Salz <rsalz@openssl.org>
Tue, 28 Apr 2015 20:34:52 +0000 (16:34 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 28 Apr 2015 20:34:52 +0000 (16:34 -0400)
commit2d29e2df0c9040e139d68c8659ee0342a6ac3dd1
tree1c204074c02b3e356e60b51abe82e4552983bc80
parentb196e7d936fb377d9c5b305748ac25ff0e53ef6d
realloc of NULL is like malloc

ANSI C, and OpenSSL's malloc wrapper do this, also.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/asn1/a_bitstr.c
crypto/asn1/asn1_lib.c
crypto/asn1/f_enum.c
crypto/asn1/f_int.c
crypto/asn1/f_string.c
crypto/bio/b_sock.c
crypto/buffer/buffer.c
crypto/err/err.c