summaryrefslogtreecommitdiffstats
path: root/src/tofu.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tofu.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tofu.rs b/src/tofu.rs
index 6308813..15f38d1 100644
--- a/src/tofu.rs
+++ b/src/tofu.rs
@@ -17,10 +17,7 @@ pub enum TrustDecision {
17 /// Stored fingerprint matches: proceed. 17 /// Stored fingerprint matches: proceed.
18 Trusted, 18 Trusted,
19 /// Key changed since first use: reject with details. 19 /// Key changed since first use: reject with details.
20 Mismatch { 20 Mismatch { expected: String, actual: String },
21 expected: String,
22 actual: String,
23 },
24} 21}
25 22
26/// Hex-encoded SHA-256 of the SPKI inside a DER-encoded X.509 certificate. 23/// Hex-encoded SHA-256 of the SPKI inside a DER-encoded X.509 certificate.