cryptodev_digest_update: don't leak original state->mac_data if realloc fails
authorJonas Maebe <jonas.maebe@elis.ugent.be>
Sun, 8 Dec 2013 16:18:17 +0000 (17:18 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Fri, 15 Aug 2014 20:38:36 +0000 (22:38 +0200)
commit349e6b2b0aea737422fedfa28467bed5571ead2a
treea66ca720c5a661cafac0d07968ac91832c26b0e5
parent36f7ed5040d27a5446d66649986cb3595161f685
cryptodev_digest_update: don't leak original state->mac_data if realloc fails

Signed-off-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/engine/eng_cryptodev.c