X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fdigest.c;h=b526cc348b79313e21bea12808976f392b5505a8;hb=801eb73f45371accc78ca9d6d22d647eeb722c11;hp=d3e827a141f11cf458d848e0e54c042895cc169e;hpb=468577abe37ff7b453a9ac613e0ea155349203ae;p=linux-2.6 diff --git a/crypto/digest.c b/crypto/digest.c index d3e827a141..b526cc348b 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -12,6 +12,7 @@ * */ +#include #include #include #include @@ -76,7 +77,7 @@ static int update2(struct hash_desc *desc, if (!nbytes) break; - sg = sg_next(sg); + sg = scatterwalk_sg_next(sg); } return 0;