diff options
author | Andy Polyakov <appro@openssl.org> | 2018-08-17 23:04:03 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-08-22 21:35:27 +0200 |
commit | 19934970ac8534cd19eb3f64299e5731d97a7a80 (patch) | |
tree | d2ec3880676695a72386253d2354a40df601d450 /crypto/init.c | |
parent | Ignore the digest in req app if using EdDSA (diff) | |
download | openssl-19934970ac8534cd19eb3f64299e5731d97a7a80.tar.xz openssl-19934970ac8534cd19eb3f64299e5731d97a7a80.zip |
asn1/asn_moid.c: overhaul do_create.
Original could allocate nid and then bail out on malloc failure. Instead
allocate first *then* attempt to create object.
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6998)
Diffstat (limited to 'crypto/init.c')
0 files changed, 0 insertions, 0 deletions