There is no C version of bn_div_3_words
authorUlf Möller <ulf@openssl.org>
Tue, 23 Jan 2001 16:26:15 +0000 (16:26 +0000)
committerUlf Möller <ulf@openssl.org>
Tue, 23 Jan 2001 16:26:15 +0000 (16:26 +0000)
CHANGES
crypto/bn/bn_div.c

diff --git a/CHANGES b/CHANGES
index 4561b26..784440d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,9 @@
 
  Changes between 0.9.6 and 0.9.7  [xx XXX 2000]
 
+  *) Fix for Irix with NO_ASM.
+     ["Bruce W. Forsberg" <bruce.forsberg@baesystems.com>]
+
   *) ./config script fixes.
      [Ulf Moeller, Richard Levitte]
 
index 64b84ac..602276d 100644 (file)
@@ -248,7 +248,7 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
        for (i=0; i<loop-1; i++)
                {
                BN_ULONG q,l0;
-#ifdef BN_DIV3W
+#if defined(BN_DIV3W) && !defined(NO_ASM)
                q=bn_div_3_words(wnump,d1,d0);
 #else
                BN_ULONG n0,n1,rem=0;