summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_div.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-04-19 15:14:21 +0000
committerBodo Möller <bodo@openssl.org>2007-04-19 15:14:21 +0000
commit24a8c25ab5a91b4cf467aef1af3dcc474b1c7df2 (patch)
tree6bd7f5715769738d53af378dda42d21cde8cb7a9 /crypto/bn/bn_div.c
parentd1e7d1d96cbec34a44449e19433b5fe7d748e06a (diff)
fix error codes
Diffstat (limited to 'crypto/bn/bn_div.c')
-rw-r--r--crypto/bn/bn_div.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c
index 257fe0ce01..514b2c2c82 100644
--- a/crypto/bn/bn_div.c
+++ b/crypto/bn/bn_div.c
@@ -422,7 +422,7 @@ int BN_div_no_branch(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num,
if (BN_is_zero(divisor))
{
- BNerr(BN_F_BN_DIV,BN_R_DIV_BY_ZERO);
+ BNerr(BN_F_BN_DIV_NO_BRANCH,BN_R_DIV_BY_ZERO);
return(0);
}