Harmonize return values in dtls1_buffer_record
authorEmilia Kasper <emilia@openssl.org>
Wed, 4 Mar 2015 21:05:53 +0000 (13:05 -0800)
committerEmilia Kasper <emilia@openssl.org>
Tue, 10 Mar 2015 19:18:18 +0000 (12:18 -0700)
commit06c6a2b4a3a6e64303caa256398dd2dc16f9c35a
tree0a9143ea2a2183122a8c584dda3501aedc1d249e
parent460e920d8a274e27aab36346eeda6685a42c3314
Harmonize return values in dtls1_buffer_record

Ensure all malloc failures return -1.

Reported by Adam Langley (Google).

Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/d1_pkt.c