@@ -43,12 +43,12 @@ TEST(@"+[SHA1Hash]", (sha1 = [OFSHA1Hash SHA1Hash])) while (![f isAtEndOfStream]) { char buf[64]; - size_t len = [f readNBytes: 64 - intoBuffer: buf]; + size_t len = [f readIntoBuffer: buf + length: 64]; [sha1 updateWithBuffer: buf length: len]; } [f close];