1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 00:37:56 +00:00

use long long for AES block counter, fixes #1206

This commit is contained in:
Thomas Waldmann 2016-06-26 20:45:22 +02:00
parent 79c59bffa8
commit 36b1863c44

View file

@ -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()