mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-01 21:12:11 -04:00
Properly initialize various attributes.
This commit is contained in:
parent
c548c7f4b4
commit
5cb906c235
5 changed files with 26 additions and 0 deletions
|
@ -22,10 +22,16 @@
|
|||
|
||||
#include "Metadata.h"
|
||||
#include "crypto/Random.h"
|
||||
#include "format/KeePass2.h"
|
||||
|
||||
Database::Database()
|
||||
{
|
||||
m_metadata = new Metadata(this);
|
||||
m_rootGroup = 0;
|
||||
|
||||
m_cipher = KeePass2::CIPHER_AES;
|
||||
m_compressionAlgo = CompressionNone; // TODO change to CompressionGZip?
|
||||
m_transformRounds = 1000; // TODO random number
|
||||
}
|
||||
|
||||
Group* Database::rootGroup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue