mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-29 00:47:32 -04:00
Fix coding style and GUI test
This commit is contained in:
parent
54fb0d9bd3
commit
ccfd7a065c
28 changed files with 426 additions and 379 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue