Skip to content

Commit

Permalink
Bump domain, allowing us to remove the ugly type signature on the cal…
Browse files Browse the repository at this point in the history
…l to sign_zone() and explicit use of ByteMut.
  • Loading branch information
ximon18 committed Jan 6, 2025
1 parent d71757f commit 82ee2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/commands/signzone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use std::fs::File;
use std::io::{self, BufWriter};
use std::path::{Path, PathBuf};

use bytes::{BufMut, Bytes, BytesMut};
use bytes::{BufMut, Bytes};
use clap::builder::ValueParser;
use domain::base::iana::nsec3::Nsec3HashAlg;
use domain::base::iana::zonemd::{ZonemdAlg, ZonemdScheme};
Expand Down Expand Up @@ -895,7 +895,7 @@ impl SignZone {
};

records
.sign_zone::<_, _, _, _, BytesMut>(&mut signing_config, &signing_keys)
.sign_zone(&mut signing_config, &signing_keys)
.map_err(|err| format!("Signing failed: {err}"))?;

if !zonemd.is_empty() {
Expand Down

0 comments on commit 82ee2e3

Please sign in to comment.