Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
check(rtc_data_enclave,data_upload): unnecessary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
PiDelport committed May 27, 2021
1 parent 6316a89 commit 261133b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtc_data_enclave/src/data_upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn generate_client_payload(
Err(err) => return Err(CryptoError::Rand(err.code().map_or(0, |code| code.get()))),
};

let mut message = util::concat_u8(&pass, uuid.as_bytes());
let message = util::concat_u8(&pass, uuid.as_bytes());

pass.zeroize();

Expand Down

0 comments on commit 261133b

Please sign in to comment.