unit test crypto file counter wraparound
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 9 May 2017 08:59:28 +0000 (10:59 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit770173c52c29f9461bba56922cf354170f91afa8
treefcdd24281b1fbafe92e382f82f6a7f07d8036df0
parent30019abfb8a16cf54eb0bdc5a299c0eed816e970
unit test crypto file counter wraparound

After the file counter reaches UINT_MAX, it wraps around and a
new fixed part must be created.

The file counter is 32 bit unsigned integer so it needs to be
lowered to make bounds testing feasible.
deltatar/crypto.py
testing/test_crypto.py