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 4561b261a4d8689e4f5cbf4a0f71963491b9f313..784440d8d52aba6c68c4f98c47a47d304e1abea4 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 64b84ac1a76d06f294cae875b44f9578f3bc6fa8..602276d1fa84816381991689046551e19e4dc066 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;