Mark some constructor as explicit.

This commit is contained in:
Felix Geyer 2012-01-11 19:18:35 +01:00
parent 6422dee4fc
commit 279585fff4
10 changed files with 13 additions and 11 deletions

View file

@ -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)