Skip to content

Commit

Permalink
fix: mod
Browse files Browse the repository at this point in the history
  • Loading branch information
pk5ls20 committed Feb 20, 2025
1 parent 3984370 commit 5615317
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mania/src/core/context.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::ClientConfig;
use crate::core::crypto::consts::ECDH_256_PEER_LOGIN_KEY;
use crate::core::crypto::ecdh::{Ecdh, P256};
use crate::core::crypto::ecdh::{ECDH_256_PEER_LOGIN_KEY, Ecdh, P256};
use crate::core::key_store::KeyStore;
use crate::core::session::Session;
use crate::core::sign::SignProvider;
Expand Down
1 change: 0 additions & 1 deletion mania/src/core/crypto.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod consts;
pub mod ecdh;
pub mod stream_sha1;
pub mod tea;
2 changes: 1 addition & 1 deletion mania/src/core/crypto/stream_sha1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl StreamSha1 {
let hash = self.hasher.hash();
self.digests_stream.push(hash);
self.offset = 0;
self.update(&data[range..]); // TODO: avoid recursion
self.update(&data[range..]); // TODO: avoid recursion
}
}

Expand Down

0 comments on commit 5615317

Please sign in to comment.