mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Remove an allocation in client::mechanisms::scram::Scram::initial
This commit is contained in:
parent
f725994fe0
commit
a291ab2e83
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ impl<S: ScramProvider> Mechanism for Scram<S> {
|
|||
bare.extend(self.client_nonce.bytes());
|
||||
let mut data = Vec::new();
|
||||
data.extend(&gs2_header);
|
||||
data.extend(bare.clone());
|
||||
data.extend(&bare);
|
||||
self.state = ScramState::SentInitialMessage {
|
||||
initial_message: bare,
|
||||
gs2_header: gs2_header,
|
||||
|
|
Loading…
Reference in a new issue