diff options
author | saturneric <[email protected]> | 2023-12-03 12:28:46 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-03 12:28:46 +0000 |
commit | 883db05d54510e76b6548e107593187e1306117d (patch) | |
tree | a4de9d60d3bfeb69ba443129d208feef65250b2c /src/core/function/gpg/GpgContext.cpp | |
parent | feat: improve memory security of function framework (diff) | |
download | GpgFrontend-883db05d54510e76b6548e107593187e1306117d.tar.gz GpgFrontend-883db05d54510e76b6548e107593187e1306117d.zip |
feat: general improvements of aync execution and memory security
Diffstat (limited to '')
-rw-r--r-- | src/core/function/gpg/GpgContext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgContext.cpp b/src/core/function/gpg/GpgContext.cpp index a6040231..40a70cee 100644 --- a/src/core/function/gpg/GpgContext.cpp +++ b/src/core/function/gpg/GpgContext.cpp @@ -243,7 +243,6 @@ class GpgContext::Impl : public SingletonFunctionObject<GpgContext::Impl> { static auto CustomPassphraseCb(void *hook, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd) -> gpgme_error_t { - auto *p_ctx = static_cast<GpgContext *>(hook); std::string passphrase; SPDLOG_DEBUG( |