Skip to content

Commit

Permalink
fix docker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gutongjiang committed Sep 12, 2019
1 parent fa20347 commit 7cd91d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/device/device_ledger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,8 @@ namespace hw {

char prekey[200];
memmove(prekey, &this->buffer_recv[0], 200);
crypto::generate_chacha_key_prehashed(&prekey[0], sizeof(prekey), key, kdf_rounds);
// crypto::generate_chacha_key_prehashed(&prekey[0], sizeof(prekey), key, kdf_rounds);
crypto::generate_chacha_key_prehashed(&prekey[0], sizeof(prekey), key);

#ifdef DEBUG_HWDEVICE
hw::ledger::check32("generate_chacha_key_prehashed", "key", (char*)key_x.data(), (char*)key.data());
Expand Down

0 comments on commit 7cd91d7

Please sign in to comment.