comparison src/md5.c @ 462:0784d089fdc9 r21-2-46

Import from CVS: tag r21-2-46
author cvs
date Mon, 13 Aug 2007 11:44:37 +0200
parents abe6d1db359e
children 183866b06e0b
comparison
equal deleted inserted replaced
461:120ed4009e51 462:0784d089fdc9
577 577
578 /* Get the data while doing the conversion. */ 578 /* Get the data while doing the conversion. */
579 while (1) 579 while (1)
580 { 580 {
581 Bufbyte tempbuf[1024]; /* some random amount */ 581 Bufbyte tempbuf[1024]; /* some random amount */
582 ssize_t size_in_bytes = 582 Lstream_data_count size_in_bytes =
583 Lstream_read (XLSTREAM (instream), tempbuf, sizeof (tempbuf)); 583 Lstream_read (XLSTREAM (instream), tempbuf, sizeof (tempbuf));
584 if (!size_in_bytes) 584 if (!size_in_bytes)
585 break; 585 break;
586 586
587 /* Process the bytes. */ 587 /* Process the bytes. */