# HG changeset patch # User Dan # Date 1226258523 18000 # Node ID 904fbf10f11299777753586853fdd3f6c56a2dd5 # Parent 331e009416d58e2bb5e0726db1b898d8b01baa74# Parent e5f638c216f7901d28b0df4d7712307bad5ab26c Merging branches diff -r e5f638c216f7 -r 904fbf10f112 includes/clientside/static/crypto.js --- 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) diff -r e5f638c216f7 -r 904fbf10f112 includes/diffiehellman.php --- 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) diff -r e5f638c216f7 -r 904fbf10f112 includes/sql_parse.php --- 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); } /**