We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7775f7d + 781abf9 commit 0b16224Copy full SHA for 0b16224
app/code/Magento/Analytics/Model/Cryptographer.php
@@ -124,7 +124,12 @@ private function getInitializationVector()
124
*/
125
private function validateCipherMethod($cipherMethod)
126
{
127
- $methods = openssl_get_cipher_methods();
+ $methods = array_map(
128
+ 'strtolower',
129
+ openssl_get_cipher_methods()
130
+ );
131
+ $cipherMethod = strtolower($cipherMethod);
132
+
133
return (false !== array_search($cipherMethod, $methods));
134
}
135
0 commit comments