mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-29 00:47:32 -04:00
Mark some constructor as explicit.
This commit is contained in:
parent
6422dee4fc
commit
279585fff4
10 changed files with 13 additions and 11 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "crypto/CryptoHash.h"
|
||||
#include "format/KeePass2.h"
|
||||
|
||||
KeePass2RandomStream::KeePass2RandomStream(QByteArray key)
|
||||
KeePass2RandomStream::KeePass2RandomStream(const QByteArray& key)
|
||||
: m_cipher(SymmetricCipher::Salsa20, SymmetricCipher::Stream, SymmetricCipher::Encrypt,
|
||||
CryptoHash::hash(key, CryptoHash::Sha256), KeePass2::INNER_STREAM_SALSA20_IV)
|
||||
, m_offset(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue