From: Richard Levitte Date: Mon, 11 Sep 2000 22:17:31 +0000 (+0000) Subject: Actually, that was perfectly correct. The fault is in the checking X-Git-Tag: OpenSSL-engine-0_9_6-beta2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8e1ec9fb370edd8ba35dc6f1f30696648c13ebaa;p=oweals%2Fopenssl.git Actually, that was perfectly correct. The fault is in the checking elsewhere. --- diff --git a/crypto/engine/hw_cswift.c b/crypto/engine/hw_cswift.c index 3818e1ca85..77608b8983 100644 --- a/crypto/engine/hw_cswift.c +++ b/crypto/engine/hw_cswift.c @@ -696,7 +696,7 @@ static int cswift_dsa_verify(const unsigned char *dgst, int dgst_len, BIGNUM *dsa_g = NULL; BIGNUM *dsa_key = NULL; BIGNUM *argument = NULL; - int to_return = 0; /* Expect failure */ + int to_return = -1; int acquired = 0; if((ctx = BN_CTX_new()) == NULL)