CMS MADE SIMPLE FORGE

CGExtensions

 

[#10505] No feedback if MCrypt is missing

avatar
Created By: Tomas Amsrud (tamsrud)
Date Submitted: Tue Apr 28 03:42:19 -0400 2015

Assigned To: Robert Campbell (calguy1000)
Version: 1.46.4
CMSMS Version: 1.11.13
Severity: Trivial
Resolution: None
State: Open
Summary:
No feedback if MCrypt is missing
Detailed Description:
After a upgrade from Ubuntu 12.04 to 14.04 the Orders module stopped working. I
traced it down this route : action.default > encrypted_store::put >
encrypted_store::__make()> cge_encrypt::encrypt

After the upgrade Mcrypt was not set up correctly and therfore this line in
cge_encrypt::encrypt retuned FALSE:
if( !function_exists('mcrypt_module_open') ) return FALSE;

In encrypted_store $tmp is then set to NULL
$tmp = cge_encrypt::encrypt(self::$_enckey,$ser);

This should lead to some kind of error since this is fatal for the rest of the
script.


History

Comments
avatar
Date: 2018-01-14 05:47
Posted By: Rolf (rolf1)

Realease 1.58 uses OpenSSL now instead of Mcrypt. This BR is probably
redundant...