diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 6d5b746637be226da5d9aac78af39a9851188464..1f2357bc6424dc7b16c0c11c165e53f047f3da28 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -1201,7 +1201,7 @@ static int test_cprng(struct crypto_rng *tfm, struct cprng_testvec *template, unsigned int tcount) { const char *algo = crypto_tfm_alg_driver_name(crypto_rng_tfm(tfm)); - int err, i, j, seedsize; + int err = 0, i, j, seedsize; u8 *seed; char result[32];