diff options
| author | mat <github@matdoes.dev> | 2022-04-30 21:30:45 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-30 21:30:45 -0500 |
| commit | 80d49a76073d417e118b85636df2a923043b0250 (patch) | |
| tree | 8e27492a181d82fcf524e8b5b5b997e9231e3aed /azalea-client | |
| parent | cc70d80932269ca3d044224481ab46082e0a8449 (diff) | |
| download | azalea-drasl-80d49a76073d417e118b85636df2a923043b0250.tar.xz | |
azalea_auth::encryption -> azalea_crypto
Diffstat (limited to 'azalea-client')
| -rwxr-xr-x | azalea-client/Cargo.toml | 1 | ||||
| -rwxr-xr-x | azalea-client/src/connect.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/azalea-client/Cargo.toml b/azalea-client/Cargo.toml index d8477ea1..ab3f6eda 100755 --- a/azalea-client/Cargo.toml +++ b/azalea-client/Cargo.toml @@ -7,5 +7,6 @@ version = "0.1.0" [dependencies] azalea-auth = {path = "../azalea-auth"} +azalea-crypto = {path = "../azalea-crypto"} azalea-protocol = {path = "../azalea-protocol"} tokio = {version = "1.18.0", features = ["sync"]} diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index 7c1880fa..5c6c8841 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -74,7 +74,7 @@ impl Client { Ok(packet) => match packet { LoginPacket::ClientboundHelloPacket(p) => { println!("Got encryption request"); - let e = azalea_auth::encryption::encrypt(&p.public_key, &p.nonce).unwrap(); + let e = azalea_crypto::encrypt(&p.public_key, &p.nonce).unwrap(); // TODO: authenticate with the server here (authenticateServer) |
