Skip to content

Commit

Permalink
delete pointless assert
Browse files Browse the repository at this point in the history
thanks @hexagonrecursion for finding this.
  • Loading branch information
ThomasWaldmann committed Mar 22, 2022
1 parent 9b55c7b commit 13a7d59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/borg/crypto/low_level.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ cdef class AES256_CTR_BASE:
"""
cdef int ilen = len(envelope)
cdef int hlen = self.header_len
assert hlen == self.header_len
cdef int aoffset = self.aad_offset
cdef int alen = hlen - aoffset
cdef unsigned char *odata = <unsigned char *>PyMem_Malloc(ilen + self.cipher_blk_len) # play safe, 1 extra blk
Expand Down

0 comments on commit 13a7d59

Please sign in to comment.