F-9317: remove stale MGF parameter fallback comment in PSS validation

pull/258/head
Chris Conlon 2026-08-14 14:52:55 -06:00
parent 786e606703
commit 6c5680a571
1 changed files with 0 additions and 1 deletions

View File

@ -1249,7 +1249,6 @@ public class WolfCryptSignature extends SignatureSpi {
/* Validate spec type and MGF1 inner digest */
AlgorithmParameterSpec mgfParams = pss.getMGFParameters();
if (mgfParams != null) {
/* Different spec type silently falls back to the default digest */
if (!(mgfParams instanceof MGF1ParameterSpec)) {
throw new InvalidAlgorithmParameterException(
"MGF1 parameters must be of type MGF1ParameterSpec, got " +