aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgContext.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2022-07-23 14:54:51 +0000
committerGitHub <[email protected]>2022-07-23 14:54:51 +0000
commitb244320b2d228189767aa6d59febceb6b64527fb (patch)
tree179d34e2a3e84231fad72c4bbe9f74673d0b74d0 /src/core/GpgContext.cpp
parentMerge pull request #68 from saturneric/develop-2.0.8 (diff)
parentfeat(project): add rpm package support (diff)
downloadGpgFrontend-b244320b2d228189767aa6d59febceb6b64527fb.tar.gz
GpgFrontend-b244320b2d228189767aa6d59febceb6b64527fb.zip
Merge pull request #70 from saturneric/dev/2.0.8/saturnericv2.0.9
Develop 2.0.9.1
Diffstat (limited to '')
-rw-r--r--src/core/GpgContext.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/GpgContext.cpp b/src/core/GpgContext.cpp
index 7e656dfb..28857d32 100644
--- a/src/core/GpgContext.cpp
+++ b/src/core/GpgContext.cpp
@@ -93,7 +93,9 @@ GpgContext::GpgContext(const GpgContextInitArgs &args) : args_(args) {
: engine_info->file_name)
<< std::string(engine_info->home_dir == nullptr
? "null"
- : engine_info->home_dir);
+ : engine_info->home_dir)
+ << std::string(engine_info->version ? "null"
+ : engine_info->version);
switch (engine_info->protocol) {
case GPGME_PROTOCOL_OpenPGP:
@@ -110,6 +112,7 @@ GpgContext::GpgContext(const GpgContextInitArgs &args) : args_(args) {
info_.GpgConfPath = engine_info->file_name;
break;
case GPGME_PROTOCOL_ASSUAN:
+ info_.AssuanPath = engine_info->file_name;
break;
case GPGME_PROTOCOL_G13:
break;