diff options
author | saturneric <[email protected]> | 2023-12-23 12:07:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-23 12:07:26 +0000 |
commit | 4f29479ec7c128ab035d76e32006d8b0c7d0b9f1 (patch) | |
tree | 006f58359a2a0ade32513139a969cf4650c52234 /src/core/function/gpg/GpgFileOpera.cpp | |
parent | fix: gen key test cases typeid rtti issues (diff) | |
download | GpgFrontend-4f29479ec7c128ab035d76e32006d8b0c7d0b9f1.tar.gz GpgFrontend-4f29479ec7c128ab035d76e32006d8b0c7d0b9f1.zip |
fix: solve all issues of test cases on macos m1
Diffstat (limited to 'src/core/function/gpg/GpgFileOpera.cpp')
-rw-r--r-- | src/core/function/gpg/GpgFileOpera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/gpg/GpgFileOpera.cpp b/src/core/function/gpg/GpgFileOpera.cpp index bce3fcd8..32f8c3ab 100644 --- a/src/core/function/gpg/GpgFileOpera.cpp +++ b/src/core/function/gpg/GpgFileOpera.cpp @@ -84,8 +84,8 @@ auto GpgFrontend::GpgFileOpera::DecryptFile(const std::string& in_path, } ByteArrayPtr out_buffer; - auto err = - GpgBasicOperator::GetInstance().Decrypt(in_buffer, out_buffer, result); + auto err = GpgBasicOperator::GetInstance().Decrypt(GFBuffer(in_buffer), + out_buffer, result); assert(CheckGpgError(err) == GPG_ERR_NO_ERROR); |