diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-22 16:04:48 +0100 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-22 16:04:48 +0100 |
commit | 651d0aff98d28e2db146afa1790e9e22f3ef22db (patch) | |
tree | 064b04a2d7eddda845048c0278df8bbb068622f5 /crypto/bn/bn_sqr.c | |
parent | This commit was generated by cvs2svn to track changes on a CVS vendor (diff) | |
download | openssl-651d0aff98d28e2db146afa1790e9e22f3ef22db.tar.xz openssl-651d0aff98d28e2db146afa1790e9e22f3ef22db.zip |
Various cleanups and fixed by Marc and Ralf to start the OpenTLS project
Diffstat (limited to 'crypto/bn/bn_sqr.c')
-rw-r--r-- | crypto/bn/bn_sqr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/bn_sqr.c b/crypto/bn/bn_sqr.c index 19ec0ddf84..3166e6ce5a 100644 --- a/crypto/bn/bn_sqr.c +++ b/crypto/bn/bn_sqr.c @@ -241,17 +241,17 @@ printf(" bn_sqr_recursive %d * %d\n",n2,n2); * r[32] holds (b[1]*b[1]) */ - c1=bn_add_words(t,r,&(r[n2]),n2); + c1=(int)(bn_add_words(t,r,&(r[n2]),n2)); /* t[32] is negative */ - c1-=bn_sub_words(&(t[n2]),t,&(t[n2]),n2); + c1-=(int)(bn_sub_words(&(t[n2]),t,&(t[n2]),n2)); /* t[32] holds (a[0]-a[1])*(a[1]-a[0])+(a[0]*a[0])+(a[1]*a[1]) * r[10] holds (a[0]*a[0]) * r[32] holds (a[1]*a[1]) * c1 holds the carry bits */ - c1+=bn_add_words(&(r[n]),&(r[n]),&(t[n2]),n2); + c1+=(int)(bn_add_words(&(r[n]),&(r[n]),&(t[n2]),n2)); if (c1) { p= &(r[n+n2]); |