crypto: testmgr - Set err before proceeding
authorSalvatore Benedetto <salvatore.benedetto@intel.com>
Mon, 4 Jul 2016 09:52:34 +0000 (10:52 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Jul 2016 15:05:22 +0000 (23:05 +0800)
commit57763f5ec7488d5864e4d6ec9d4197b8f52214bd
tree83f149aaea8582e6439961d868afeae20760b022
parent6889621fd2317f52fd2c5ef1178128156f39fa94
crypto: testmgr - Set err before proceeding

Report correct error in case of failure

Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c