diff options
author | Matt Caswell <matt@openssl.org> | 2015-05-26 00:02:57 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-26 10:35:22 +0100 |
commit | 90e7cdff3aa66779486914f88333f6601f0c1cf4 (patch) | |
tree | ec2d83d8b1db1f5d0085854a16d13edbe12783a3 /ssl | |
parent | fc52ac9028b9492fb086ba35a3352ea46e03ecfc (diff) |
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>
Diffstat (limited to 'ssl')
0 files changed, 0 insertions, 0 deletions