mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-30 05:43:05 -08:00
Fix coding style and GUI test
This commit is contained in:
1 parent
54fb0d9bd3
commit
ccfd7a065c
28 files changed
+426
-379
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user