Matt Caswell 9cab86ee0a 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>
(cherry picked from commit 90e7cdff3aa66779486914f88333f6601f0c1cf4)
2015-05-26 10:38:56 +01:00
..
2015-05-26 10:38:56 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2007-04-05 16:57:07 +00:00
2015-02-22 13:23:53 +01:00
2015-05-23 11:08:12 +02:00