Matt Caswell 8f43c80bfa 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: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit 446ba8de9af9aa4fa3debc7c76a38f4efed47a62)
2016-04-26 14:32:45 +01:00
..
2015-09-20 14:21:18 +01:00
2015-08-28 11:59:23 -04:00
2016-03-18 11:56:34 +00:00
2015-03-19 11:11:22 +00:00
2015-05-22 09:44:44 +01:00
2015-02-27 20:31:28 +00:00
2016-03-01 13:36:54 +00:00
2016-03-07 18:54:57 +01:00
2016-03-14 21:13:59 +01:00
2015-09-02 00:37:58 +01:00
2016-03-07 18:54:57 +01:00
2015-07-30 10:18:43 +01:00
2015-09-02 00:29:00 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2016-04-26 14:32:45 +01:00
2016-03-07 18:54:57 +01:00
2016-04-04 13:45:09 -04:00
2016-04-04 13:45:09 -04:00
2015-05-05 19:50:12 +01:00
2015-01-07 02:15:35 +01:00
2016-03-14 21:13:59 +01:00
2016-04-04 13:45:09 -04:00
2015-12-19 14:44:03 +00:00
2016-04-04 13:45:09 -04:00
2015-10-23 20:32:58 +02:00
2015-04-16 13:50:01 -04:00