diff options
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 575b57c3244b..8183777a49b6 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -804,7 +804,7 @@ static int test_skcipher(struct crypto_ablkcipher *tfm, int enc, | |||
804 | else | 804 | else |
805 | memset(iv, 0, MAX_IVLEN); | 805 | memset(iv, 0, MAX_IVLEN); |
806 | 806 | ||
807 | if (!(template[i].np)) { | 807 | if (!(template[i].np) || (template[i].also_non_np)) { |
808 | j++; | 808 | j++; |
809 | 809 | ||
810 | ret = -EINVAL; | 810 | ret = -EINVAL; |