diff options
author | Saturneric <[email protected]> | 2022-02-02 07:42:44 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-02-02 07:42:44 +0000 |
commit | 7993367384ff5b63bdbc7b48ebb6817a798e0a2c (patch) | |
tree | 5dc6ad66570db2eea9ce044b9962289d287124b4 /src/ui/thread/SMTPSendMailThread.cpp | |
parent | <doc>(project): Improve code document-related Settings (diff) | |
download | GpgFrontend-7993367384ff5b63bdbc7b48ebb6817a798e0a2c.tar.gz GpgFrontend-7993367384ff5b63bdbc7b48ebb6817a798e0a2c.zip |
<refactor>(src, test): Normalize the naming of partial classes
Diffstat (limited to 'src/ui/thread/SMTPSendMailThread.cpp')
-rw-r--r-- | src/ui/thread/SMTPSendMailThread.cpp | 6 |
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); |