=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/gzsig/Attic/sign.c,v retrieving revision 1.12 retrieving revision 1.13 diff -c -r1.12 -r1.13 *** src/usr.bin/gzsig/Attic/sign.c 2013/03/10 10:34:33 1.12 --- src/usr.bin/gzsig/Attic/sign.c 2013/03/10 10:36:57 1.13 *************** *** 1,4 **** ! /* $OpenBSD: sign.c,v 1.12 2013/03/10 10:34:33 tobias Exp $ */ /* * sign.c --- 1,4 ---- ! /* $OpenBSD: sign.c,v 1.13 2013/03/10 10:36:57 tobias Exp $ */ /* * sign.c *************** *** 114,125 **** offset = ftell(fin); if (gh.flags & GZIP_FNAME) { ! while (getc(fin) != '\0') ! ; } if (gh.flags & GZIP_FCOMMENT) { ! while (getc(fin) != '\0') ! ; } if (gh.flags & GZIP_FENCRYPT) { if (fread(buf, 1, GZIP_FENCRYPT_LEN, fin) != GZIP_FENCRYPT_LEN) --- 114,125 ---- offset = ftell(fin); if (gh.flags & GZIP_FNAME) { ! if (skip_string(fin)) ! return (-1); } if (gh.flags & GZIP_FCOMMENT) { ! if (skip_string(fin)) ! return (-1); } if (gh.flags & GZIP_FENCRYPT) { if (fread(buf, 1, GZIP_FENCRYPT_LEN, fin) != GZIP_FENCRYPT_LEN)