X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fgss%2Fgss_crypto.c;h=4231a0a56833cab9857808316085adf7032f4967;hp=cadb4d47f0863cdc3e19e29bae038b7302f19be1;hb=553d93361d2db4ff39bf19ac66dc2d79f6e3e324;hpb=2496089a0017f5b0ff94a7a7994f4c62c8f30d94 diff --git a/lustre/ptlrpc/gss/gss_crypto.c b/lustre/ptlrpc/gss/gss_crypto.c index cadb4d4..4231a0a 100644 --- a/lustre/ptlrpc/gss/gss_crypto.c +++ b/lustre/ptlrpc/gss/gss_crypto.c @@ -270,12 +270,11 @@ out: return ret; } -int gss_digest_hash(struct cfs_crypto_hash_desc *desc, +int gss_digest_hash(struct ahash_request *req, rawobj_t *hdr, int msgcnt, rawobj_t *msgs, int iovcnt, lnet_kiov_t *iovs, rawobj_t *cksum) { - struct ahash_request *req = (struct ahash_request *)desc; struct scatterlist sg[1]; struct sg_table sgt; int rc = 0;