Skip to content

Commit 102bf6e

Browse files
committed
Apply correction for ticket #4392
1 parent 4ac2608 commit 102bf6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/globaleaks/utils/securetempfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, filesdir):
1919
"""
2020
filename = str(uuid.uuid4())
2121
self.filepath = os.path.join(filesdir, filename)
22-
self.cipher = Cipher(ChaCha20(os.urandom(32), os.urandom(16)), mode=None, backend=default_backend)
22+
self.cipher = Cipher(ChaCha20(os.urandom(32), os.urandom(16)), mode=None, backend=default_backend())
2323

2424
@property
2525
def size(self):

0 commit comments

Comments
 (0)