Author Topic: vmcrypt.php Warnings after upgrade to Virtuemart 3.4.2  (Read 382 times)

millermulti

  • Beginner
  • *
  • Posts: 13
vmcrypt.php Warnings after upgrade to Virtuemart 3.4.2
« on: November 19, 2018, 16:00:04 pm »
Joomla 3.9.0
VM 3.4.2
PHP 5.6.31

Recently I updated an installation to the latest Joomla and Virtuemart. After the updates I started logging a couple PHP warnings from the Virtuemart vmcrypt.php file. I understand these are only warnings although if there is a fix which will resolve them I would like to address the issue. The warnings are as follows:

PHP Warning:  openssl_decrypt(): IV passed is only 3 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /home/***/public_html/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 82
PHP Warning:  hash_equals(): Expected known_string to be a string, boolean given in /home/***/public_html/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 84

Any help would be greatly appreciated.

Thanks!