Fix coding style and GUI test

This commit is contained in:
Janek Bevendorff authored and Jonathan White committed 2018-01-13 14:24:57 -05:00
1 parent 54fb0d9bd3
commit ccfd7a065c
28 files changed
+426 -379

No files matched your search

+2 -2
View File
@@ -123,9 +123,9 @@ bool KeePass2RandomStream::loadBlock()
SymmetricCipher::Algorithm KeePass2RandomStream::mapAlgo(KeePass2::ProtectedStreamAlgo algo) {
switch (algo) {
case KeePass2::ChaCha20:
case KeePass2::ProtectedStreamAlgo::ChaCha20:
return SymmetricCipher::ChaCha20;
case KeePass2::Salsa20:
case KeePass2::ProtectedStreamAlgo::Salsa20:
return SymmetricCipher::Salsa20;
default:
return SymmetricCipher::InvalidAlgorithm;