Initialised 'ok' and redo the logic.
authorRichard Levitte <levitte@openssl.org>
Wed, 25 Mar 2015 13:41:58 +0000 (14:41 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 20 Apr 2015 23:45:58 +0000 (01:45 +0200)
commit0725acd0712f12aa611846c852a2e20583e438e9
tree210fd24dbb3684fc4b5bf8fbfdc94c3d66767859
parent5fa7c10bc4693349ebbfcab00f644545b21b544b
Initialised 'ok' and redo the logic.

The logic with how 'ok' was calculated didn't quite convey what's "ok",
so the logic is slightly redone to make it less confusing.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit 06affe3dac65592a341547f5a47e52cedb7b71f8)
engines/ccgost/gost_sign.c