mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-25 00:38:58 +00:00
Fixed typo
This commit is contained in:
parent
cc9e81c754
commit
9f949241b0
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def decrypt(self, data):
|
|||
if type == self.READ:
|
||||
key = self._decrypt_key(data[41:297], self.rsa_read)
|
||||
elif type == self.CREATE:
|
||||
key = self.decrypt_key(data[41:297], self.rsa_create)
|
||||
key = self._decrypt_key(data[41:297], self.rsa_create)
|
||||
else:
|
||||
raise Exception('Unknown pack type %d found' % ord(type))
|
||||
data = AES.new(key, AES.MODE_CTR, counter=counter).decrypt(data[297:])
|
||||
|
|
Loading…
Reference in a new issue