diff -r 7846d45bd250 -r b2f985e4cef3 plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Fri Nov 23 17:59:24 2007 -0500 +++ b/plugins/SpecialUserFuncs.php Sat Nov 24 00:53:23 2007 -0500 @@ -376,7 +376,7 @@ if ( $_POST['use_crypt'] == 'yes' ) { - $aes = new AESCrypt(AES_BITS, AES_BLOCKSIZE); + $aes = AESCrypt::singleton(AES_BITS, AES_BLOCKSIZE); $crypt_key = $session->fetch_public_key($_POST['crypt_key']); if ( !$crypt_key ) { @@ -1067,7 +1067,7 @@ if ( isset($_POST['do_stage2']) ) { - $aes = new AESCrypt(AES_BITS, AES_BLOCKSIZE); + $aes = AESCrypt::singleton(AES_BITS, AES_BLOCKSIZE); if($_POST['use_crypt'] == 'yes') { $crypt_key = $session->fetch_public_key($_POST['crypt_key']);