aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/GpgContext.cpp')
-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;