[CRYPTO] scatterwalk: Restore custom sg chaining for now
[linux-3.10.git] / crypto / digest.c
index 52845f53f8e1b862c8bcd55b4cb32e8980d2581f..6fd43bddd545e788546d868b097e3ad811867e76 100644 (file)
@@ -75,7 +75,7 @@ static int update2(struct hash_desc *desc,
 
                if (!nbytes)
                        break;
-               sg = sg_next(sg);
+               sg = scatterwalk_sg_next(sg);
        }
 
        return 0;