From 955a559c21b8a0b15b382a9044984ac1a19daccf Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Fri, 13 Jan 2023 15:28:58 +0100 Subject: [PATCH] clippy: fix warning --- server/src/domain/sql_opaque_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/domain/sql_opaque_handler.rs b/server/src/domain/sql_opaque_handler.rs index 1ba6e8d..b2ded01 100644 --- a/server/src/domain/sql_opaque_handler.rs +++ b/server/src/domain/sql_opaque_handler.rs @@ -133,7 +133,7 @@ impl OpaqueHandler for SqlOpaqueHandler { let encrypted_state = orion::aead::seal(&secret_key, &bincode::serialize(&server_data)?)?; Ok(login::ServerLoginStartResponse { - server_data: base64::encode(&encrypted_state), + server_data: base64::encode(encrypted_state), credential_response: start_response.message, }) }