diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 10:53:33 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 10:53:33 +0200 |
commit | b5ebd44eb7559ea6135d536bafd02323d2ef0547 (patch) | |
tree | 519daaeb7d3b913ec6893ae91de3971ee5314651 /drivers/crypto/padlock-sha.c | |
parent | crypto: hmac - Fix incorrect error value when creating instance (diff) | |
download | linux-b5ebd44eb7559ea6135d536bafd02323d2ef0547.tar.xz linux-b5ebd44eb7559ea6135d536bafd02323d2ef0547.zip |
crypto: xcbc - Fix incorrect error value when creating instance
If shash_alloc_instance() fails, we return the wrong error value.
This patch fixes it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/padlock-sha.c')
0 files changed, 0 insertions, 0 deletions