TLS: SignatureAlgorithm.anonymous now handled external to parsing
@@ -110,11 +110,6 @@ public static SignatureAndHashAlgorithm parse(InputStream input)
short hash = TlsUtils.readUint8(input);
short signature = TlsUtils.readUint8(input);
- if (signature == SignatureAlgorithm.anonymous)
- {
- throw new TlsFatalAlert(AlertDescription.illegal_parameter);
- }
-
return SignatureAndHashAlgorithm.getInstance(hash, signature);
}
