summaryrefslogtreecommitdiffstats
path: root/src/tofu.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-29 22:16:15 +0100
committersalmonik <salmonik@tuta.io>2026-10-29 22:16:15 +0100
commitbc0de9955c375cf27d52c9934403964205afc182 (patch)
tree42799fb426fb0ec164f44c92a63525003c582f35 /src/tofu.rs
parentinitial connection timeout set to 10s (diff)
downloadzagan-bet-bc0de9955c375cf27d52c9934403964205afc182.tar.gz
zagan-bet-bc0de9955c375cf27d52c9934403964205afc182.zip
formatting
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.