Skip to content

Commit

Permalink
Fix inconsistent switch case syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorejb authored and terrafrost committed Nov 10, 2024
1 parent f61ab08 commit 1ed2db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mcrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ function phpseclib_mcrypt_enc_get_modes_name(Base $td)
$mode = $td->getMode();
switch ($mode) {
case 'cfb':
case 'ofb';
case 'ofb':
return 'n' . strtoupper($mode);
case 'cfb8':
case 'ofb8':
Expand Down

1 comment on commit 1ed2db4

@terrafrost
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #42

Please sign in to comment.