projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27e413
)
workaround no longer needed
author
Ulf Möller
<ulf@openssl.org>
Sat, 26 Feb 2000 22:37:43 +0000
(22:37 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Sat, 26 Feb 2000 22:37:43 +0000
(22:37 +0000)
crypto/bn/bn_recp.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_recp.c
b/crypto/bn/bn_recp.c
index a6d7900a3cc9710b2c4d53c3bd42e580846856c5..a8796bd0aacfc34b20cc372974831df6dfa229ad 100644
(file)
--- a/
crypto/bn/bn_recp.c
+++ b/
crypto/bn/bn_recp.c
@@
-181,16
+181,7
@@
int BN_div_recp(BIGNUM *dv, BIGNUM *rem, BIGNUM *m, BN_RECP_CTX *recp,
{
if (j++ > 2)
{
-#if 0
- /* work around some bug:
- -1CC0E177F93042B29D309839F8019DB93404D7A395F1E162
- 5383BF622A20B17E1BAA999336988B82B93F5FB77B55B4B68
- 9412000000000031 / 298EB5957DBFB8CBB2CC2A9F789D2B5
- fails, for example. */
- ret=BN_div(dv,rem,m,&(recp->N),ctx);
-#else
BNerr(BN_F_BN_MOD_MUL_RECIPROCAL,BN_R_BAD_RECIPROCAL);
-#endif
goto err;
}
if (!BN_usub(r,r,&(recp->N))) goto err;