Merging branches
authorDan
Sun, 09 Nov 2008 14:22:03 -0500
changeset 734 904fbf10f112
parent 712 331e009416d5 (diff)
parent 733 e5f638c216f7 (current diff)
child 735 f191cb6bd0ca
Merging branches
--- a/includes/clientside/static/crypto.js	Mon Nov 03 08:56:44 2008 -0500
+++ b/includes/clientside/static/crypto.js	Sun Nov 09 14:22:03 2008 -0500
@@ -2042,7 +2042,7 @@
  */
 
 // Our prime number as a base for operations.
-var dh_prime = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321';
+var dh_prime = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703';
 
 // g, a primitive root used as an exponent
 // (2 and 5 are acceptable, but BigInt is faster with odd numbers)
--- a/includes/diffiehellman.php	Mon Nov 03 08:56:44 2008 -0500
+++ b/includes/diffiehellman.php	Sun Nov 09 14:22:03 2008 -0500
@@ -28,7 +28,7 @@
   $dh_supported = false;
 }
 // Our prime number as a base for operations.
-$GLOBALS['dh_prime'] = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321';
+$GLOBALS['dh_prime'] = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703';
 
 // g, a primitive root used as an exponent
 // (2 and 5 are acceptable, but BigInt is faster with odd numbers)
--- a/includes/sql_parse.php	Mon Nov 03 08:56:44 2008 -0500
+++ b/includes/sql_parse.php	Sun Nov 09 14:22:03 2008 -0500
@@ -73,9 +73,14 @@
       {
         throw new Exception('SQL file doesn\'t exist');
       }
+      
     }
     $this->sql_array = false;
     $this->tpl_strings = array();
+    
+    // convert \r\n in the schema to \n, in case some FTP client or zip utility ran unix2dos for us
+    // thanks to InvisGhost for reporting this error
+    $this->sql_string = str_replace("\r\n", "\n", $this->sql_string);
   }
   
   /**