Add NULL check in i2d_PrivateKey()
authorRichard Levitte <levitte@openssl.org>
Mon, 9 May 2016 19:52:11 +0000 (21:52 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 9 May 2016 20:29:13 +0000 (22:29 +0200)
commit59a56c4cf02bbf1efeda6c2a5893d5079db78ff3
treef829d6d9af985690cc6fb6aa7eaa8556fb87a1b0
parentf7aa318552c4ef62d902c480b59bd7c4513c0009
Add NULL check in i2d_PrivateKey()

Originally submitted by Kurt Cancemi <kurt@x64architecture.com>

Closes RT#4533

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/asn1/i2d_pr.c