From 24a8c25ab5a91b4cf467aef1af3dcc474b1c7df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Thu, 19 Apr 2007 15:14:21 +0000 Subject: fix error codes --- crypto/bn/bn_div.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/bn/bn_div.c') 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); } -- cgit v1.2.3