Skip to content

Commit 08802aa

Browse files
authored
Merge pull request #57 from mxsasha/patch-1
Fix invalid reference to ERR_raise introduced in 4c0a0b8
2 parents 4c0a0b8 + ebcfaaf commit 08802aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/bn/bn_sqrt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
365365
}
366366
/* If not found, a is not a square or p is not prime. */
367367
if (i >= e) {
368-
ERR_raise(ERR_LIB_BN, BN_R_NOT_A_SQUARE);
368+
BNerr(BN_F_BN_MOD_SQRT, BN_R_NOT_A_SQUARE);
369369
goto end;
370370
}
371371

0 commit comments

Comments
 (0)