[GH-ISSUE #207] Change signature fo insert_trust_anchor to take PublicKey #94

Closed
opened 2026-03-07 22:18:47 +03:00 by kerem · 0 comments
Owner

Originally created by @bluejekyll on GitHub (Sep 24, 2017).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/207

Originally assigned to: @bluejekyll on GitHub.

This should lower the potential for mistakenly associating the wrong data:

pub fn insert_trust_anchor(&mut self, public_key: Vec<u8>) -> TrustAnchor {...}

should become

pub fn insert_trust_anchor(&mut self, public_key: PublicKey) -> TrustAnchor {...}
Originally created by @bluejekyll on GitHub (Sep 24, 2017). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/207 Originally assigned to: @bluejekyll on GitHub. This should lower the potential for mistakenly associating the wrong data: ```rust pub fn insert_trust_anchor(&mut self, public_key: Vec<u8>) -> TrustAnchor {...} ``` should become ```rust pub fn insert_trust_anchor(&mut self, public_key: PublicKey) -> TrustAnchor {...} ```
kerem 2026-03-07 22:18:47 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#94
No description provided.