Matt Caswell
90e7cdff3a
Fix error check in GOST engine
...
The return value of i2d functions can be negative if an error occurs.
Therefore don't assign the return value to an unsigned type and *then*
check if it is negative.
RT#3862
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-26 10:35:22 +01:00
..
2014-08-19 11:09:33 -04:00
2015-05-26 10:35:22 +01:00
2015-01-22 09:20:10 +00:00
2010-11-22 22:04:41 +00:00
2002-10-31 15:43:00 +00:00
2008-06-02 23:10:34 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2005-05-29 19:14:21 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2002-10-11 17:41:40 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2002-10-11 17:41:40 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2008-05-31 22:49:32 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2005-05-29 19:14:21 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2002-10-11 17:41:40 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-04 15:00:13 -04:00
2003-01-30 15:43:07 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-01 10:02:07 -04:00
2002-10-11 17:41:40 +00:00
2015-05-05 22:18:59 -04:00
2007-04-05 16:57:07 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2002-10-11 17:41:40 +00:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-05-11 10:06:38 -04:00
2002-10-11 17:41:40 +00:00
2002-10-31 15:43:00 +00:00
2010-11-22 22:04:41 +00:00
2015-01-30 14:43:57 +01:00
2015-05-23 06:33:41 +02:00
2002-10-31 15:43:00 +00:00