From efe659910f0e30bb76ce6b48db50b39627139ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 1 Dec 2020 11:20:55 +0100 Subject: [PATCH] crypto: Remove some stale TODOs. --- matrix_sdk_crypto/src/olm/signing/pk_signing.rs | 1 - matrix_sdk_crypto/src/verification/sas/sas_state.rs | 3 --- 2 files changed, 4 deletions(-) diff --git a/matrix_sdk_crypto/src/olm/signing/pk_signing.rs b/matrix_sdk_crypto/src/olm/signing/pk_signing.rs index f653ebad..fb552349 100644 --- a/matrix_sdk_crypto/src/olm/signing/pk_signing.rs +++ b/matrix_sdk_crypto/src/olm/signing/pk_signing.rs @@ -170,7 +170,6 @@ impl MasterSigning { } pub async fn sign_subkey<'a>(&self, subkey: &mut CrossSigningKey) { - // TODO create a borrowed version of a cross singing key. let subkey_wihtout_signatures = json!({ "user_id": subkey.user_id.clone(), "keys": subkey.keys.clone(), diff --git a/matrix_sdk_crypto/src/verification/sas/sas_state.rs b/matrix_sdk_crypto/src/verification/sas/sas_state.rs index 9c0ba30a..4065d2f7 100644 --- a/matrix_sdk_crypto/src/verification/sas/sas_state.rs +++ b/matrix_sdk_crypto/src/verification/sas/sas_state.rs @@ -117,9 +117,6 @@ impl Default for AcceptedProtocols { } } -// TODO implement expiration of the verification flow using the timeouts defined -// in the spec. - /// A type level state machine modeling the Sas flow. /// /// This is the generic struc holding common data between the different states