mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-17 18:50:56 -04:00
Make sure gcrypt is initalized when SymmetricCipherGcrypt objects are created.
This commit is contained in:
parent
baace14918
commit
bc63d18f68
4 changed files with 14 additions and 0 deletions
|
@ -17,6 +17,13 @@
|
|||
|
||||
#include "SymmetricCipherGcrypt.h"
|
||||
|
||||
#include "crypto/Crypto.h"
|
||||
|
||||
SymmetricCipherGcrypt::SymmetricCipherGcrypt()
|
||||
{
|
||||
Q_ASSERT(Crypto::initalized());
|
||||
}
|
||||
|
||||
SymmetricCipherGcrypt::~SymmetricCipherGcrypt()
|
||||
{
|
||||
gcry_cipher_close(m_ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue