X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fmd5.c;h=acb9f0d8653f7dab20627961e2c65b8e054bed29;hb=f8b0dcc32dce11bef09e2fbcde040aecd1f86fd1;hp=2b204ff4da2863c03597e57b2c54947a5a916f6e;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/md5.c b/src/md5.c index 2b204ff..acb9f0d 100644 --- a/src/md5.c +++ b/src/md5.c @@ -27,10 +27,7 @@ #endif #include - -#include #include - #include #if defined HAVE_LIMITS_H || _LIBC @@ -566,7 +563,7 @@ file-coding or Mule support. Otherwise, they are ignored. CHECK_STRING (object); get_string_range_byte (object, start, end, &bstart, &bend, GB_HISTORICAL_STRING_BEHAVIOR); - instream = make_lisp_string_input_stream (object, bstart, bend); + instream = make_lisp_string_input_stream (object, bstart, bend - bstart); } GCPRO1 (instream);