X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=crypto%2Fshash.c;h=91f7b9d838819b870ec20f05648d3027b3cf03f4;hb=18bcc9194da3c97e8f458fb1b06ac5b9b35fb23f;hp=98b7f46ca1ed07dee6c78f233d005a3283dfbd66;hpb=f592682f9fca18d336ac068a1abc8507b4a1d936;p=safe%2Fjmp%2Flinux-2.6 diff --git a/crypto/shash.c b/crypto/shash.c index 98b7f46..91f7b9d 100644 --- a/crypto/shash.c +++ b/crypto/shash.c @@ -350,7 +350,7 @@ int crypto_init_shash_ops_async(struct crypto_tfm *tfm) crt->setkey = shash_async_setkey; if (alg->export) crt->export = shash_async_export; - if (alg->setkey) + if (alg->import) crt->import = shash_async_import; crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash);