~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/bn/bn_gf2m.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
1080
1080
        BN_zero(a);
1081
1081
        for (i = 0; p[i] != 0; i++)
1082
1082
                {
1083
 
                BN_set_bit(a, p[i]);
 
1083
                if (BN_set_bit(a, p[i]) == 0)
 
1084
                        return 0;
1084
1085
                }
1085
1086
        BN_set_bit(a, 0);
1086
1087
        bn_check_top(a);