The BN_LLONG version of bn_add_words() didn't get constified in the recent
changes, so it isn't consistent with its prototype. This is fixed by the
patch below.

   /Krister


--- openssl-SNAP-20001117/crypto/bn/bn_asm.c.bak    Fri Nov 17 00:00:26 2000
+++ openssl-SNAP-20001117/crypto/bn/bn_asm.c    Fri Nov 17 23:02:29 2000
@@ -296,7 +296,7 @@
 #endif /* !defined(BN_LLONG) && defined(BN_DIV2W) */
 
 #ifdef BN_LLONG
-BN_ULONG bn_add_words(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n)
+BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)
         {
        BN_ULLONG ll=0;
 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to