diff -r dc08c70ca550 -r e2cb5f1432c8 plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Sun Dec 02 15:27:21 2007 -0500 +++ b/plugins/SpecialUserFuncs.php Sun Dec 02 16:00:10 2007 -0500 @@ -525,7 +525,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 ) { @@ -1235,7 +1235,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']);