Nitrokey / nitrokey-pro-firmware

Firmware for the Nitrokey Pro device
GNU General Public License v3.0
118 stars 21 forks source link

Fix off by one error in OTP slot range checks. #17

Closed FlorianUekermann closed 8 years ago

FlorianUekermann commented 8 years ago

Fixes #4

Resending because I moved this to a branch on my side, to be able to continue working on master. Nothing else changed.

szszszsz commented 8 years ago

Tested on Ubuntu 16.04 with libnitrokey and py.test test suite.