cswift_dsa_verify() incorrectly return -1 on error.

This commit is contained in:
Richard Levitte 2000-09-11 22:15:53 +00:00
parent da867a51a0
commit dc005a7367

View file

@ -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 = -1;
int to_return = 0; /* Expect failure */
int acquired = 0;
if((ctx = BN_CTX_new()) == NULL)