aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp')
-rw-r--r--sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp b/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp
new file mode 100644
index 000000000000..08e4db20abe8
--- /dev/null
+++ b/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp
@@ -0,0 +1,11 @@
+--- encfs/NullCipher.cpp.orig 2022-05-14 16:04:54 UTC
++++ encfs/NullCipher.cpp
+@@ -76,7 +76,7 @@ class NullDestructor {
+ NullDestructor &operator=(const NullDestructor &) = delete; // copy assignment
+ NullDestructor& operator=(NullDestructor&& other) = delete; // move assignment
+
+- void operator()(NullKey *&) {}
++ void operator()(NullKey *) {}
+ };
+ std::shared_ptr<AbstractCipherKey> gNullKey(new NullKey(), NullDestructor());
+