diff options
author | Saturneric <[email protected]> | 2022-01-05 16:51:56 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-05 16:51:56 +0000 |
commit | 2609a8cdebca4b37ae41f0529a4737fb42f82b83 (patch) | |
tree | 91a6d3602562f24ce79f02caec75a0ee9856251b /src/main.cpp | |
parent | <feature>(ui, project): start to add imap support. (diff) | |
download | GpgFrontend-2609a8cdebca4b37ae41f0529a4737fb42f82b83.tar.gz GpgFrontend-2609a8cdebca4b37ae41f0529a4737fb42f82b83.zip |
<feature>(ui, project): load root certs.
1. add root certs file.
2. loading root certs at startup.
3. store certs in GlobalSettingStation.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index fa4195ce..3df26886 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,6 +40,7 @@ INITIALIZE_EASYLOGGINGPP jmp_buf recover_env; extern void init_logging(); +extern void init_certs(); extern void init_locale(); extern void handle_signal(int sig); @@ -64,9 +65,12 @@ int main(int argc, char* argv[]) { QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #endif - // logging system + // config logging system init_logging(); + // root certs for tls connection + init_certs(); + // App config QApplication::setApplicationVersion(BUILD_VERSION); QApplication::setApplicationName(PROJECT_NAME); |