We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b954b1c commit 271db2dCopy full SHA for 271db2d
src/Type/HMACOutputLengthValue.php
@@ -4,6 +4,7 @@
4
5
namespace SimpleSAML\XMLSecurity\Type;
6
7
+use SimpleSAML\XML\Exception\SchemaViolationException;
8
use SimpleSAML\XML\Type\IntegerValue;
9
use SimpleSAML\XMLSecurity\Assert\Assert;
10
@@ -23,6 +24,6 @@ class HMACOutputLengthValue extends IntegerValue
23
24
protected function validateValue(string $value): void
25
{
26
// Note: value must already be sanitized before validating
- Assert::validHMACOutputLength($this->sanitizeValue($value));
27
+ Assert::validHMACOutputLength($this->sanitizeValue($value), SchemaViolationException::class);
28
}
29
0 commit comments