Fix a memory leak in i2d_RSA_NET on failure of ASN1_STRING_set.
authorbcook <bcook@openbsd.org>
Sun, 5 Aug 2018 13:35:45 +0000 (13:35 +0000)
committerbcook <bcook@openbsd.org>
Sun, 5 Aug 2018 13:35:45 +0000 (13:35 +0000)
commitf595cb837c158c8d4e40c087ad1dfa9b3659e900
tree0667fb0018abb97803be4158b73a05f28bb599c5
parentd5b157b0956a96a9e0778a8d8f0b7f1a45c56020
Fix a memory leak in i2d_RSA_NET on failure of ASN1_STRING_set.

Found by Coverity.
Feedback and ok tb@
lib/libcrypto/asn1/n_pkey.c