Skip to content
Commit a04d08fc authored by Matt Caswell's avatar Matt Caswell
Browse files

Ensure we check i2d_X509 return val



The i2d_X509() function can return a negative value on error. Therefore
we should make sure we check it.

Issue reported by Yuan Jochen Kang.

Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
(cherry picked from commit 446ba8de)
parent 1ee45415
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment