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 defde24 + 7f4aa2e commit 19fd585Copy full SHA for 19fd585
app/code/Magento/Analytics/Model/Cryptographer.php
@@ -129,7 +129,12 @@ private function getInitializationVector()
129
*/
130
private function validateCipherMethod($cipherMethod)
131
{
132
- $methods = openssl_get_cipher_methods();
+ $methods = array_map(
133
+ 'strtolower',
134
+ openssl_get_cipher_methods()
135
+ );
136
+ $cipherMethod = strtolower($cipherMethod);
137
+
138
return (false !== array_search($cipherMethod, $methods));
139
}
140
0 commit comments