mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-05 21:48:51 -04:00
Do some basic self-checks when initializing the crypto backend.
This commit is contained in:
parent
b417bf9187
commit
0d6117bf4c
23 changed files with 143 additions and 27 deletions
|
@ -38,7 +38,9 @@ int main(int argc, char **argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
Crypto::init();
|
||||
if (!Crypto::init()) {
|
||||
qFatal("Fatal error while testing the cryptographic functions:\n%s", qPrintable(Crypto::errorString()));
|
||||
}
|
||||
|
||||
CompositeKey key;
|
||||
if (QFile::exists(app.arguments().at(1))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue