8275918: Remove unused local variables in java.base security code

Reviewed-by: weijun
This commit is contained in:
Andrey Turbanov 2022-01-22 13:56:51 +00:00
parent b9ae77906e
commit 54c9de26ab
13 changed files with 14 additions and 31 deletions

View file

@ -255,7 +255,6 @@ public class RSAPSSSignature extends SignatureSpi {
* internal signature parameters.
*/
private void isValid(RSAKey rsaKey) throws InvalidKeyException {
AlgorithmParameterSpec keyParams = rsaKey.getParams();
// validate key parameters
if (!isCompatible(rsaKey.getParams(), this.sigParams)) {
throw new InvalidKeyException