From 60707e26d3068a43e0caa7973a4fb88428443738 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 14 Mar 2019 16:51:11 +0100 Subject: [implem-python] Correction d'un bug sur un chemin d'erreur --- python/lilliput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lilliput.py b/python/lilliput.py index e92ed5f..f9c1b09 100644 --- a/python/lilliput.py +++ b/python/lilliput.py @@ -10,7 +10,7 @@ def _checkInputs(key, nonce): raise ValueError('invalid key size: {} not in {}'.format(len(key)*8, valid_key_lengths)) if len(nonce) != NONCE_BYTES: - raise ValueError('nonce must be {}-byte long'.format(N_BYTES)) + raise ValueError('nonce must be {}-byte long'.format(NONCE_BYTES)) def mainEnc(plaintext, adata, key, nonce, mode): -- cgit v1.2.3