]> err.no Git - linux-2.6/blobdiff - crypto/digest.c
Merge branch 'for-linus' of git://neil.brown.name/md
[linux-2.6] / crypto / digest.c
index d63d5d96feecc4e7e040765d4719992737b0c345..ac0919460d143c9e45b10212899d3b2cc3ec3a25 100644 (file)
@@ -12,6 +12,7 @@
  *
  */
 
+#include <crypto/internal/hash.h>
 #include <crypto/scatterwalk.h>
 #include <linux/mm.h>
 #include <linux/errno.h>
@@ -234,7 +235,6 @@ int crypto_init_digest_ops_async(struct crypto_tfm *tfm)
        crt->setkey     = dalg->dia_setkey ? digest_async_setkey :
                                                digest_async_nosetkey;
        crt->digestsize = dalg->dia_digestsize;
-       crt->base       = __crypto_ahash_cast(tfm);
 
        return 0;
 }