mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Merge pull request #1225 from hifi/fix/opensshkey-test-init
Add missing crypto init to OpenSSHKey test
This commit is contained in:
commit
a519ec6220
@ -16,11 +16,17 @@
|
||||
*/
|
||||
|
||||
#include "TestOpenSSHKey.h"
|
||||
#include "crypto/Crypto.h"
|
||||
#include "sshagent/OpenSSHKey.h"
|
||||
#include <QTest>
|
||||
|
||||
QTEST_GUILESS_MAIN(TestOpenSSHKey)
|
||||
|
||||
void TestOpenSSHKey::initTestCase()
|
||||
{
|
||||
QVERIFY(Crypto::init());
|
||||
}
|
||||
|
||||
void TestOpenSSHKey::testParse()
|
||||
{
|
||||
// mixed line endings and missing ones are intentional, we only require 3 lines total
|
||||
|
@ -27,6 +27,7 @@ class TestOpenSSHKey : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
void initTestCase();
|
||||
void testParse();
|
||||
void testDecryptAES256CBC();
|
||||
void testDecryptAES256CTR();
|
||||
|
Loading…
Reference in New Issue
Block a user