diff options
author | louib <L0U13@protonmail.com> | 2019-02-19 04:17:28 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-03-24 15:35:33 +0300 |
commit | a58e3d5ee0113019adea182830b2fcc9e5387184 (patch) | |
tree | 3dc589dc1711c6774026ef34a3d7f40538fdfbdc /src/crypto/Crypto.h | |
parent | 76913a5dd1411fc911fd9a346a2d230d5cb6d18e (diff) |
Adding debug info to CLI.
Adding debug info to the CLI and the general option
of the main Qt app. Also took time to:
* use `EXIT_SUCCESS`/`EXIT_FAILURE` constants
for main.cpp (this is what is used in `src/cli`);
* fixed `m_initalized` typo;
* added info on debugging mode being disabled
or not;
* regrouped Qt related stuff in the debug output.
Diffstat (limited to 'src/crypto/Crypto.h')
-rw-r--r-- | src/crypto/Crypto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/Crypto.h b/src/crypto/Crypto.h index 379068eb4..4346f5055 100644 --- a/src/crypto/Crypto.h +++ b/src/crypto/Crypto.h @@ -24,10 +24,10 @@ class Crypto { public: static bool init(); - static bool initalized(); + static bool initialized(); static bool backendSelfTest(); static QString errorString(); - static QString backendVersion(); + static QString debugInfo(); private: Crypto(); @@ -42,7 +42,7 @@ private: static bool testSalsa20(); static bool testChaCha20(); - static bool m_initalized; + static bool m_initialized; static QString m_errorStr; static QString m_backendVersion; }; |