aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/BasicOperator.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-02 21:35:16 +0000
committerSaturneric <[email protected]>2021-12-02 21:35:16 +0000
commit1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc (patch)
tree58cabfa5c0065632b97823b6e6f068c04f1fa2e9 /src/gpg/function/BasicOperator.h
parentFix and Modified. (diff)
downloadGpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.tar.gz
GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.zip
Fixed.
1. Fixed known issue in File Operations.
Diffstat (limited to '')
-rw-r--r--src/gpg/function/BasicOperator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpg/function/BasicOperator.h b/src/gpg/function/BasicOperator.h
index e83ade70..39f93668 100644
--- a/src/gpg/function/BasicOperator.h
+++ b/src/gpg/function/BasicOperator.h
@@ -34,10 +34,10 @@ namespace GpgFrontend {
class BasicOperator : public SingletonFunctionObject<BasicOperator> {
public:
- gpg_error_t Encrypt(KeyArgsList&& keys, BypeArrayRef in_buffer,
+ gpg_error_t Encrypt(KeyListPtr keys, BypeArrayRef in_buffer,
ByteArrayPtr& out_buffer, GpgEncrResult& result);
- gpgme_error_t EncryptSign(KeyArgsList&& keys, KeyArgsList&& signers,
+ gpgme_error_t EncryptSign(KeyListPtr keys, KeyListPtr signers,
BypeArrayRef in_buffer, ByteArrayPtr& out_buffer,
GpgEncrResult& encr_result,
GpgSignResult& sign_result);
@@ -52,7 +52,7 @@ class BasicOperator : public SingletonFunctionObject<BasicOperator> {
gpgme_error_t Verify(BypeArrayRef in_buffer, ByteArrayPtr& sig_buffer,
GpgVerifyResult& result) const;
- gpg_error_t Sign(KeyArgsList&& key_fprs, BypeArrayRef in_buffer,
+ gpg_error_t Sign(KeyListPtr keys, BypeArrayRef in_buffer,
ByteArrayPtr& out_buffer, gpgme_sig_mode_t mode,
GpgSignResult& result);