svn commit: lorikeet r609 - in trunk/heimdal/lib/des/imath: .

lha at samba.org lha at samba.org
Fri Oct 20 15:22:29 GMT 2006


Author: lha
Date: 2006-10-20 15:22:28 +0000 (Fri, 20 Oct 2006)
New Revision: 609

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=609

Log:
merge from heimdal current - allocate more bits
Modified:
   trunk/heimdal/lib/des/imath/imath.c


Changeset:
Modified: trunk/heimdal/lib/des/imath/imath.c
===================================================================
--- trunk/heimdal/lib/des/imath/imath.c	2006-10-20 12:39:03 UTC (rev 608)
+++ trunk/heimdal/lib/des/imath/imath.c	2006-10-20 15:22:28 UTC (rev 609)
@@ -2,7 +2,7 @@
   Name:     imath.c
   Purpose:  Arbitrary precision integer arithmetic routines.
   Author:   M. J. Fromberger <http://www.dartmouth.edu/~sting/>
-  Info:     $Id: imath.c,v 1.3 2006/10/07 19:43:41 lha Exp $
+  Info:     $Id: imath.c,v 1.4 2006/10/20 15:04:51 lha Exp $
 
   Copyright (C) 2002 Michael J. Fromberger, All Rights Reserved.
 
@@ -1191,11 +1191,11 @@
     return MP_RANGE;
 
   um = MP_USED(m);
-  SETUP(mp_int_init_size(TEMP(0), 2 * um), last);
-  SETUP(mp_int_init_size(TEMP(1), 2 * um), last);
+  SETUP(mp_int_init_size(TEMP(0), 3 * um), last);
+  SETUP(mp_int_init_size(TEMP(1), 3 * um), last);
 
   if(c == b || c == m) {
-    SETUP(mp_int_init_size(TEMP(2), 2 * um), last);
+    SETUP(mp_int_init_size(TEMP(2), 3 * um), last);
     s = TEMP(2);
   } 
   else {



More information about the samba-cvs mailing list