Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Resources/Zone.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public function setNsec3param(?string $nsec3param): self
if ($flags === null || !ctype_digit($flags) || ((int) $flags !== 0 && (int) $flags !== 1)) {
throw new InvalidNsec3Param('The nsec3param flags parameter must be set to 0 or 1.');
}
if ($iterations === null || !ctype_digit($iterations) || $iterations === 0 || $iterations > 2500) {
if ($iterations === null || !ctype_digit($iterations) || $iterations > 2500) {
throw new InvalidNsec3Param('The nsec3param iterations parameter must be between 0 and 2500.');
}
if ($salt === null || strlen($salt) === 0 || strlen($salt) > 255) {
Expand Down