8000 Merge branch 'moosa-1.0' into moosa-2.0 · phpseclib/phpseclib@74435e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 74435e1

Browse files
committed
Merge branch 'moosa-1.0' into moosa-2.0
2 parents d70abb9 + 8af4280 commit 74435e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpseclib/Crypt/RSA.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2951,6 +2951,9 @@ function _emsa_pkcs1_v1_5_encode_without_null($m, $emLen)
29512951
break;
29522952
case 'sha512':
29532953
$t = pack('H*', '304f300b06096086480165030402030440');
2954+
break;
2955+
default:
2956+
return false;
29542957
}
29552958
$t.= $h;
29562959
$tLen = strlen($t);

0 commit comments

Comments
 (0)
0