mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Call Init for request and response object to avoid crashes on first plugin contact
This commit is contained in:
parent
4008e6ab58
commit
eab4861383
@ -117,6 +117,7 @@ Request::Request():
|
||||
m_requestType(INVALID),
|
||||
m_cipher(SymmetricCipher::Aes256, SymmetricCipher::Cbc, SymmetricCipher::Decrypt)
|
||||
{
|
||||
m_cipher.init();
|
||||
}
|
||||
|
||||
QString Request::nonce() const
|
||||
@ -286,6 +287,7 @@ Response::Response(const Request &request, QString hash):
|
||||
m_hash(hash),
|
||||
m_cipher(SymmetricCipher::Aes256, SymmetricCipher::Cbc, SymmetricCipher::Encrypt)
|
||||
{
|
||||
m_cipher.init();
|
||||
}
|
||||
|
||||
void Response::setVerifier(QString key)
|
||||
|
Loading…
Reference in New Issue
Block a user