RSA: misc fixes for 'without NULL' PKCS1 signature validation

This commit is contained in:
terrafrost 2021-04-03 17:55:12 -05:00
parent 581fbdb671
commit 8af4280bde

View File

@ -3035,6 +3035,9 @@ class Crypt_RSA
break;
case 'sha512':
$t = pack('H*', '304f300b06096086480165030402030440');
break;
default:
return false;
}
$t.= $h;
$tLen = strlen($t);