Skip to content

Commit

Permalink
#103 -- fux build error
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-modelist-dev committed Feb 1, 2019
1 parent 4376cf0 commit 22ca2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keychain_lib/src/key_encryptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ keyfile_format::encrypted_data encryptor_singleton::encrypt_private_key(keyfile_
auto prkey_hash_unsec = prkey_hash.makeInsecure();
auto it = std::copy(priv_key_unsec.begin(), priv_key_unsec.end(), plain_data.data());
std::copy(prkey_hash_unsec.begin(), prkey_hash_unsec.end(), it);
encrypt_data(etype, key, plain_data.data(), plain_data.size);
return encrypt_data(etype, key, plain_data.data(), plain_data.size);
}

keyfile_format::encrypted_data encryptor_singleton::encrypt_data(keyfile_format::cipher_etype etype, const byte_seq_t& key, const unsigned char *in, int inl)
Expand Down

0 comments on commit 22ca2f3

Please sign in to comment.