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.
2 parents 17a7b18 + 0c0470b commit f8c3339Copy full SHA for f8c3339
src/Resources/Zone.php
@@ -367,7 +367,7 @@ public function setNsec3param(?string $nsec3param): self
367
if ($flags === null || !ctype_digit($flags) || ((int) $flags !== 0 && (int) $flags !== 1)) {
368
throw new InvalidNsec3Param('The nsec3param flags parameter must be set to 0 or 1.');
369
}
370
- if ($iterations === null || !ctype_digit($iterations) || $iterations === 0 || $iterations > 2500) {
+ if ($iterations === null || !ctype_digit($iterations) || $iterations > 2500) {
371
throw new InvalidNsec3Param('The nsec3param iterations parameter must be between 0 and 2500.');
372
373
if ($salt === null || strlen($salt) === 0 || strlen($salt) > 255) {
0 commit comments