+12
−3
+7
−2
Loading
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:Emilia Käsper <emilia@openssl.org> (cherry picked from commit 446ba8de)