Skip to content

Commit

Permalink
crypto: ghash-intel - Fix set but not used in ghash_async_setkey()
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Gustavo F. Padovan authored and Herbert Xu committed Jun 29, 2011
1 parent a18b989 commit c3e73e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/crypto/ghash-clmulni-intel_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key,
crypto_ahash_set_flags(tfm, crypto_ahash_get_flags(child)
& CRYPTO_TFM_RES_MASK);

return 0;
return err;
}

static int ghash_async_init_tfm(struct crypto_tfm *tfm)
Expand Down

0 comments on commit c3e73e7

Please sign in to comment.