~ubuntu-branches/ubuntu/raring/heimdal/raring

« back to all changes in this revision

Viewing changes to lib/hcrypto/libtommath/bn_mp_dr_setup.c

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-07-21 17:40:58 UTC
  • mfrom: (1.1.12 upstream) (2.4.10 experimental)
  • Revision ID: james.westby@ubuntu.com-20110721174058-byiuowgocek307cs
Tags: 1.5~pre2+git20110720-2
Fix dependency on pthreads when building on Linux 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
   /* the casts are required if DIGIT_BIT is one less than
22
22
    * the number of bits in a mp_digit [e.g. DIGIT_BIT==31]
23
23
    */
24
 
   *d = (mp_digit)((((mp_word)1) << ((mp_word)DIGIT_BIT)) - 
 
24
   *d = (mp_digit)((((mp_word)1) << ((mp_word)DIGIT_BIT)) -
25
25
        ((mp_word)a->dp[0]));
26
26
}
27
27