aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/SMTPSendMailThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/thread/SMTPSendMailThread.cpp')
-rw-r--r--src/ui/thread/SMTPSendMailThread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/thread/SMTPSendMailThread.cpp b/src/ui/thread/SMTPSendMailThread.cpp
index 1d46f4ef..5364f634 100644
--- a/src/ui/thread/SMTPSendMailThread.cpp
+++ b/src/ui/thread/SMTPSendMailThread.cpp
@@ -28,7 +28,7 @@
#include <boost/format.hpp>
-#include "gpg/function/BasicOperator.h"
+#include "gpg/function/GpgBasicOperator.h"
#include "gpg/function/GpgKeyGetter.h"
#include "gpg/function/GpgKeyImportExporter.h"
@@ -66,7 +66,7 @@ void SMTPSendMailThread::run() {
GpgEncrResult result;
auto in_buffer = std::make_unique<ByteArray>(plain_text);
auto keys = GpgKeyGetter::GetInstance().GetKeys(public_key_ids_);
- auto err = BasicOperator::GetInstance().Encrypt(
+ auto err = GpgBasicOperator::GetInstance().Encrypt(
std::move(keys), *in_buffer, out_buffer, result);
if (check_gpg_error_2_err_code(err) != GPG_ERR_NO_ERROR) {
@@ -128,7 +128,7 @@ void SMTPSendMailThread::run() {
// The signature MUST be generated detached from the signed data
// so that the process does not alter the signed data in any way.
- auto err = BasicOperator::GetInstance().Sign(
+ auto err = GpgBasicOperator::GetInstance().Sign(
std::move(keys), *in_buffer, out_buffer, GPGME_SIG_MODE_DETACH,
result);