From 8e1ec9fb370edd8ba35dc6f1f30696648c13ebaa Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 11 Sep 2000 22:17:31 +0000 Subject: [PATCH] Actually, that was perfectly correct. The fault is in the checking elsewhere. --- crypto/engine/hw_cswift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1