diff --git a/borg/crypto.pyx b/borg/crypto.pyx index 556f0fbce..be692742c 100644 --- a/borg/crypto.pyx +++ b/borg/crypto.pyx @@ -86,7 +86,7 @@ cdef class AES: cdef EVP_CIPHER_CTX *ctx cdef int is_encrypt cdef unsigned char iv_orig[16] - cdef int blocks + cdef long long blocks def __cinit__(self, is_encrypt, key, iv=None): self.ctx = EVP_CIPHER_CTX_new()