includes/sessions.php
changeset 586 234ddd896555
parent 584 04a6ea3da279
child 590 03a60844c7c5
equal deleted inserted replaced
585:35e91d16ecf5 586:234ddd896555
  3415     $code = '
  3415     $code = '
  3416       <script type="text/javascript">
  3416       <script type="text/javascript">
  3417           
  3417           
  3418           function runEncryption()
  3418           function runEncryption()
  3419           {
  3419           {
       
  3420             load_component(\'crypto\');
  3420             var testpassed = ' . ( ( isset($_GET['use_crypt']) && $_GET['use_crypt']=='0') ? 'false; // CRYPTO-AUTH DISABLED ON USER REQUEST // ' : '' ) . '( aes_self_test() && md5_vm_test() );
  3421             var testpassed = ' . ( ( isset($_GET['use_crypt']) && $_GET['use_crypt']=='0') ? 'false; // CRYPTO-AUTH DISABLED ON USER REQUEST // ' : '' ) . '( aes_self_test() && md5_vm_test() );
  3421             var frm = document.forms.'.$form_name.';
  3422             var frm = document.forms.'.$form_name.';
  3422             var use_diffiehellman = false;' . "\n";
  3423             var use_diffiehellman = false;' . "\n";
  3423     if ( $dh_supported && $dh_pubkey )
  3424     if ( $dh_supported && $dh_pubkey )
  3424     {
  3425     {