|
@@ -373,7 +373,6 @@ make_checksum_v2(struct krb5_ctx *kctx, char *header, int hdrlen,
|
|
|
struct scatterlist sg[1];
|
|
|
int err = -1;
|
|
|
u8 *checksumdata;
|
|
|
- unsigned int checksumlen;
|
|
|
|
|
|
if (kctx->gk5e->keyed_cksum == 0) {
|
|
|
dprintk("%s: expected keyed hash for %s\n",
|
|
@@ -393,7 +392,6 @@ make_checksum_v2(struct krb5_ctx *kctx, char *header, int hdrlen,
|
|
|
tfm = crypto_alloc_ahash(kctx->gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC);
|
|
|
if (IS_ERR(tfm))
|
|
|
goto out_free_cksum;
|
|
|
- checksumlen = crypto_ahash_digestsize(tfm);
|
|
|
|
|
|
req = ahash_request_alloc(tfm, GFP_NOFS);
|
|
|
if (!req)
|